mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
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:
parent
038420d9c8
commit
5b1a2c8174
1 changed files with 5 additions and 0 deletions
|
|
@ -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 }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue