ci: bump go test timeout to 15m (suite grew past 10m post-#1655) (#1661)

Master CI's Go test job has been timing out at the default 10 minutes
since #1655 (`825b2648`) landed additional endpoint-coverage + race
tests. This bumps the explicit `-timeout` on both `cmd/server` and
`cmd/ingestor` test steps to 15 minutes.

No code/test changes — config-only. This is preventative; the slow tests
are a separate follow-up.

### Timing data (local sandbox, arm64, slower than CI)

| Module | Duration |
|---|---|
| `cmd/server` (`go test -race ./...`) | **9m 30s** — already grazing
the 10m default |
| `cmd/ingestor` (`go test ./...`) | 2m 44s |

The server suite is now consistently above 9 minutes and any test added
on top of #1655 pushes it past 10m on slower CI runners (the failure
mode we hit on master).

### Change

```diff
- go test -race -coverprofile=server-coverage.out ./...
+ go test -timeout 15m -race -coverprofile=server-coverage.out ./...

- go test -coverprofile=ingestor-coverage.out ./...
+ go test -timeout 15m -coverprofile=ingestor-coverage.out ./...
```

Out of scope: optimizing the slow tests
(TestGetChannelMessagesPerfLargeChannel etc.) — separate issue/PR.

Co-authored-by: corescope-bot <bot@corescope>
This commit is contained in:
Kpa-clawbot
2026-06-11 11:51:03 -07:00
committed by GitHub
parent 938153dd92
commit 0712c5ff31
+2 -2
View File
@@ -57,7 +57,7 @@ jobs:
go build .
# -race gates PR #1208's atomic.Pointer migration: the race-detector
# is what makes path_inspect_atomic_race_test.go actually assert.
go test -race -coverprofile=server-coverage.out ./... 2>&1 | tee server-test.log
go test -timeout 15m -race -coverprofile=server-coverage.out ./... 2>&1 | tee server-test.log
echo "--- Go Server Coverage ---"
go tool cover -func=server-coverage.out | tail -1
@@ -66,7 +66,7 @@ jobs:
set -e -o pipefail
cd cmd/ingestor
go build .
go test -coverprofile=ingestor-coverage.out ./... 2>&1 | tee ingestor-test.log
go test -timeout 15m -coverprofile=ingestor-coverage.out ./... 2>&1 | tee ingestor-test.log
echo "--- Go Ingestor Coverage ---"
go tool cover -func=ingestor-coverage.out | tail -1