Skip to content

Commit

Permalink
Update test/resilience/tests/envoygateway.go
Browse files Browse the repository at this point in the history
Co-authored-by: Huabing (Robin) Zhao <[email protected]>
Signed-off-by: Alex Volchok <[email protected]>
  • Loading branch information
alexwo and zhaohuabing authored Dec 12, 2024
1 parent 443284b commit 289b5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/resilience/tests/envoygateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 289b5f0

Please sign in to comment.