Run sandbox tests serially to avoid cold compilation deadline contention
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user