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.
This commit is contained in:
Chris Roberts
2025-06-13 09:23:27 -07:00
committed by GitHub
parent dfa07e10ed
commit fedd042e69

View File

@@ -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)