Commit 7d538e7e94

7d538e7e945ff342b146a87199b2b73d52315cf7

parent: a997bedea1

Verified · cmc ci/build: success

cmc <hello@cleberg.net> · 2026-08-31 16:01 UTC

Give the test suite room against go's default timeout

The e2e package runs 400-700s and go's per-package default is 600s, so a
loaded machine kills a passing tree and dumps every goroutine — a failure
that names no test and points at whatever http transport was mid-dial.
Five runs of the same tree today: 410s, 518s, 485s, 662s (killed), 547s.

A real hang still fails, 30m later.

Closes #62

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.