Skip to content

Commit

Permalink
fix resources cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
  • Loading branch information
shawnh2 committed Mar 15, 2024
1 parent ca592b5 commit 8a86e00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/make/kube.mk
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ run-e2e: install-e2e-telemetry
kubectl wait --timeout=5m -n envoy-gateway-system deployment/envoy-gateway --for=condition=Available
kubectl apply -f test/config/gatewayclass.yaml
ifeq ($(E2E_RUN_TEST),)
go test -v -tags e2e ./test/e2e --gateway-class=envoy-gateway --debug=true --cleanup-base-resources=$(E2E_CLEANUP)
go test -v -tags e2e ./test/e2e/upgrade --gateway-class=upgrade --debug=true --cleanup-base-resources=$(E2E_CLEANUP)
go test -v -tags e2e ./test/e2e --gateway-class=envoy-gateway --debug=true --cleanup-base-resources=false
go test -v -tags e2e ./test/e2e/upgrade --gateway-class=upgrade --debug=true --cleanup-base-resources=false
go test -v -tags e2e ./test/e2e/merge-gateways --gateway-class=merge-gateways --debug=true --cleanup-base-resources=$(E2E_CLEANUP)
else
ifeq ($(E2E_RUN_EG_UPGRADE_TESTS),false)
go test -v -tags e2e ./test/e2e --gateway-class=envoy-gateway --debug=true --cleanup-base-resources=$(E2E_CLEANUP) \
go test -v -tags e2e ./test/e2e --gateway-class=envoy-gateway --debug=true --cleanup-base-resources=false \
--run-test $(E2E_RUN_TEST)
go test -v -tags e2e ./test/e2e/merge-gateways --gateway-class=merge-gateways --debug=true --cleanup-base-resources=$(E2E_CLEANUP) \
--run-test $(E2E_RUN_TEST)
Expand Down

0 comments on commit 8a86e00

Please sign in to comment.