Give the test suite room against go's default timeout !133

merged merged by cmc on 2026-08-31 16:06 UTC · krz/gitbay:test-timeout into main

1 file changed, +4 −1

Layout: unified · split

Makefile +4 −1
@@ -26,8 +26,11 @@ RUNNER_BIN := dist/gitbay-runner-linux-amd64
26help: 26help:
27 @sed -n 's/^# //p' $(MAKEFILE_LIST) 27 @sed -n 's/^# //p' $(MAKEFILE_LIST)
28 28
29# The e2e suite runs 400-700s against go's 600s per-package default, so a
30# loaded machine turns a passing tree into a goroutine dump that reads as
31# an unrelated failure. A real hang still fails, just later.
29test: 32test:
30 go test ./... -count=1 33 go test ./... -count=1 -timeout 30m
31 34
32# Fail in seconds on an unreachable host or a wedged ssh-agent, rather 35# Fail in seconds on an unreachable host or a wedged ssh-agent, rather
33# than hanging on a credential prompt mid-deploy. 36# than hanging on a credential prompt mid-deploy.