vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Revert "Run the race suite sixteen tests at a time"
a33f2d01d6667cbbc4e8f29be5e11fc3730df1f3 · Keenan Nemetz · 9d ago · parent e1b843a4
Revert "Run the race suite sixteen tests at a time" Sixteen tests at once is fine on a sixteen-core machine, where the suite is tail-bound, but not on the instance's runner. There the effective concurrency at the default is already only about 1.5, and with sixteen in flight each test's own wall clock grew past the timeouts the suite is written with: runs did not reach "queued" within ten seconds, and the server package spent 601 s and failed, against 414 s of work at the default. The parallelism a slow runner needs is fewer waits, not more tests at once, and loosening the timeouts to make oversubscription pass would hide the very contention that made them fail.
.vole/workflows/verify.yaml +1−6
| @@ -109,11 +109,6 @@ jobs: | |||
| 109 | 109 | # The race runtime needs cgo even though the code under test does not; the | |
| 110 | 110 | # image sets CGO_ENABLED=0 for every other step, so it is turned back on | |
| 111 | 111 | # here. Nothing is linked from the system but the race runtime itself. | |
| 112 | # | ||
| 113 | # The integration tests spend their time waiting on git, ssh and the runner's | ||
| 114 | # subprocesses, not on CPU, so more of them at once than the runner has cores | ||
| 115 | # finishes sooner: on a two-core machine under -race, the server package takes | ||
| 116 | # 140 s at the default two in parallel and 60 s at sixteen. | ||
| 117 | 112 | - name: test | |
| 118 | run: CGO_ENABLED=1 go test -race -count=1 -parallel 16 ./... | ||
| 113 | run: CGO_ENABLED=1 go test -race -count=1 ./... | ||
| 119 | 114 | timeout: 30m | |