diff --git a/tests/integration/federation/test.sh b/tests/integration/federation/test.sh index e620d94..0158740 100755 --- a/tests/integration/federation/test.sh +++ b/tests/integration/federation/test.sh @@ -130,8 +130,8 @@ function show_workload_status() { } function teardown_federation_and_verify() { - kubectl exec --context $K8S_CLUSTER_2_CONTEXT -n spire spire-server-0 -- /opt/spire/bin/spire-server federation delete -id td1 kubectl --context $K8S_CLUSTER_2_CONTEXT delete clusterspiffeids.spire.spiffe.io spire-spire-namespace + kubectl exec --context $K8S_CLUSTER_2_CONTEXT -n spire spire-server-0 -- /opt/spire/bin/spire-server federation delete -id td1 kubectl exec --context $K8S_CLUSTER_2_CONTEXT -n spire spire-server-0 -- /opt/spire/bin/spire-server bundle delete -id td1 federations=$(./cofidectl federation list) if ! echo "$federations" | grep "Unhealthy | No bundle found" >/dev/null; then