From 4ebd39718e49f54bbea1aa3e162a46d3c56a5ec6 Mon Sep 17 00:00:00 2001 From: zirain Date: Wed, 17 Jul 2024 21:24:22 +0800 Subject: [PATCH] e2e: increase test timeout (#3883) Signed-off-by: zirain --- tools/make/kube.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/make/kube.mk b/tools/make/kube.mk index d1575d7b5bf..2258aa90f03 100644 --- a/tools/make/kube.mk +++ b/tools/make/kube.mk @@ -20,6 +20,7 @@ BENCHMARK_REPORT_DIR ?= benchmark_report E2E_RUN_TEST ?= E2E_CLEANUP ?= true +E2E_TEST_ARGS ?= -v -tags e2e -timeout 15m # Set Kubernetes Resources Directory Path ifeq ($(origin KUBE_PROVIDER_DIR),undefined) @@ -147,10 +148,10 @@ run-e2e: ## Run e2e tests 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=false - go test -v -tags e2e ./test/e2e/merge_gateways --gateway-class=merge-gateways --debug=true --cleanup-base-resources=false - go test -v -tags e2e ./test/e2e/multiple_gc --debug=true --cleanup-base-resources=true - go test -v -tags e2e ./test/e2e/upgrade --gateway-class=upgrade --debug=true --cleanup-base-resources=$(E2E_CLEANUP) + go test $(E2E_TEST_ARGS) ./test/e2e --gateway-class=envoy-gateway --debug=true --cleanup-base-resources=false + go test $(E2E_TEST_ARGS) ./test/e2e/merge_gateways --gateway-class=merge-gateways --debug=true --cleanup-base-resources=false + go test $(E2E_TEST_ARGS) ./test/e2e/multiple_gc --debug=true --cleanup-base-resources=true + go test $(E2E_TEST_ARGS) ./test/e2e/upgrade --gateway-class=upgrade --debug=true --cleanup-base-resources=$(E2E_CLEANUP) endif .PHONY: run-benchmark