From 94395eef4d2e79bb2236c35088b76582c6c5a8ad Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 22 Aug 2024 10:23:20 +0200 Subject: [PATCH] [no-relnotes] Increase timeout for e2e tests Signed-off-by: Evan Lezar --- tests/e2e/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/e2e/Makefile b/tests/e2e/Makefile index dd941ae5d..03a802a64 100644 --- a/tests/e2e/Makefile +++ b/tests/e2e/Makefile @@ -15,6 +15,9 @@ GO_CMD ?= go GO_FMT ?= gofmt +# The default go tests timeout is 10 minutes which is too for this case. +GO_TEST_TIMEOUT ?= 30m + include $(CURDIR)/versions.mk DRIVER_ENABLED ?= true @@ -31,7 +34,7 @@ test: echo "[ERR] KUBECONFIG missing, must be defined"; \ exit 1; \ fi - cd $(CURDIR)/tests/e2e && $(GO_CMD) test -v . -args \ + cd $(CURDIR)/tests/e2e && $(GO_CMD) test -timeout $(GO_TEST_TIMEOUT) -v . -args \ -kubeconfig=$(KUBECONFIG) \ -driver-enabled=$(DRIVER_ENABLED) \ -image.repo=$(E2E_IMAGE_REPO) \