From 5b1a2c8174d0d54c19fbc5ea1b2958ce4e3d47a3 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sat, 28 Mar 2026 20:39:49 -0400 Subject: [PATCH] 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) --- .config/nextest.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/nextest.toml b/.config/nextest.toml index 0141fa6ce..f1cb6eafb 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -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 }