mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user