Skip to content

Commit

Permalink
Drop the networkplugin-syncer system test
Browse files Browse the repository at this point in the history
networkplugin-syncer is no longer deployed so the test always fails
and is irrelevant.

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt committed Aug 28, 2023
1 parent b479693 commit c0df28a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions scripts/test/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ function verify_subm_deployed() {
if [[ "$GLOBALNET" == true ]]; then
verify_daemonset submariner-globalnet
fi

verify_network_plugin_syncer
}

# Uses `jq` to extract the content using the filter given, and matches it to the expected value
Expand Down Expand Up @@ -460,17 +458,6 @@ function verify_subm_gateway_secrets() {
verify_secrets "$subm_ns" "$operator_deployment_name" "${SUBMARINER_BROKER_CA:0:50}"
}

function verify_network_plugin_syncer {
# Verify service account
kubectl get sa --namespace=$subm_ns submariner-networkplugin-syncer

# Verify cluster reole
kubectl get clusterrole submariner-networkplugin-syncer

# Verify cluster role binding
kubectl get clusterrolebinding submariner-networkplugin-syncer
}

function deploy_env_once() {
if with_context "${clusters[0]}" kubectl wait --for condition=Ready pods -l app=submariner-gateway -n "${subm_ns}" --timeout=3s > /dev/null 2>&1; then
echo "Submariner already deployed, skipping deployment..."
Expand Down

0 comments on commit c0df28a

Please sign in to comment.