From 289b5f03f35ab5d5a9ded969032335751dde1762 Mon Sep 17 00:00:00 2001 From: Alex Volchok Date: Thu, 12 Dec 2024 13:52:53 +0100 Subject: [PATCH] Update test/resilience/tests/envoygateway.go Co-authored-by: Huabing (Robin) Zhao Signed-off-by: Alex Volchok --- test/resilience/tests/envoygateway.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/resilience/tests/envoygateway.go b/test/resilience/tests/envoygateway.go index d4ad6fde9d3..95634ca6079 100644 --- a/test/resilience/tests/envoygateway.go +++ b/test/resilience/tests/envoygateway.go @@ -68,7 +68,7 @@ var EGResilience = suite.ResilienceTest{ t.Log("Simulating API server connection failure for all pods") err = suite.WithResCleanUp(ctx, t, func() (client.Object, error) { - return suite.Kube().ManageEgress(ctx, apiServerIP, namespace, policyName, true, map[string]string{}) + return suite.Kube().ManageEgress(ctx, apiServerIP, namespace, policyName, true, map[string]string{"app.kubernetes.io/name": "gateway-helm"}) }) require.NoError(t, err, "Failed to simulate API server connection failure")