Cap nextest parallelism to 12 threads to avoid I/O-induced timeouts

The workspace has ~33 test binaries (30-84 MB each). At full num-cpus
concurrency the I/O from loading those binaries saturates the system
and pushes trivial tests past the 4s kill timeout.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-28 20:39:49 -04:00
parent 038420d9c8
commit 5b1a2c8174

View file

@ -1,4 +1,9 @@
[profile.default]
# Cap parallelism: the workspace has ~33 test binaries (30-84 MB each).
# At num-cpus concurrency the I/O from loading those binaries saturates
# the system and pushes even trivial tests past the 4s kill timeout.
# 12 threads keeps wall-clock time the same (~27s) with zero timeouts.
test-threads = 12
# Unit tests: flag SLOW after 2s, hard-kill after 4s
slow-timeout = { period = "2s", terminate-after = 2 }