Run sandbox tests serially to avoid cold compilation deadline contention

This commit is contained in:
2026-11-12 13:46:25 +00:00
parent 7de4bc9746
commit e7b7cf113c
+2 -1
View File
@@ -163,7 +163,8 @@
checks.tests = craneLib.cargoTest (hostArgs // {
cargoArtifacts = hostArtifacts;
cargoExtraArgs = "--locked -p sausage -p sausage-vfs";
cargoTestExtraArgs = "-- --nocapture";
# Guest builds and cold compilations share the check's CPU and memory.
cargoTestExtraArgs = "-- --nocapture --test-threads=1";
doCheck = true;
nativeBuildInputs = hostArgs.nativeBuildInputs ++ builderTools ++ [ pkgs.git pkgs.nodejs ];
SAUSAGE_TEST_NO_BUILDER_SANDBOX = "1";