From fedd042e699f73c3f168fcdebcd547d9dfb8055d Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 13 Jun 2025 09:23:27 -0700 Subject: [PATCH] test: update test timeout from 20m to 25m (#26056) Tests running in CI are starting to bump up to this timeout forcing re-runs. Adding an additional five minutes to the timeout to help prevent this from occurring. --- GNUmakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 37a8425b6..d0ad59105 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -296,7 +296,7 @@ test-nomad: # dev ## Run Nomad unit tests @echo "==> with packages $(GOTEST_PKGS)" gotestsum --format=testname --rerun-fails=3 --packages="$(GOTEST_PKGS)" -- \ -cover \ - -timeout=20m \ + -timeout=25m \ -count=1 \ -tags "$(GO_TAGS)" \ $(GOTEST_PKGS) @@ -306,7 +306,7 @@ test-nomad-module: dev ## Run Nomad unit tests on sub-module @echo "==> Running Nomad unit tests on sub-module $(GOTEST_MOD)" cd $(GOTEST_MOD); gotestsum --format=testname --rerun-fails=3 --packages=./... -- \ -cover \ - -timeout=20m \ + -timeout=25m \ -count=1 \ -race \ -tags "$(GO_TAGS)" \ @@ -441,7 +441,7 @@ test: ## Use this target as a smoke test @echo "==> with packages: $(GOTEST_PKGS)" gotestsum --format=testname --packages="$(GOTEST_PKGS)" -- \ -cover \ - -timeout=20m \ + -timeout=25m \ -count=1 \ -tags "$(GO_TAGS)" \ $(GOTEST_PKGS)