# Test resource settings for the locally rebuilt x86-64-v3 package set. # # Selecting x86-64-v3 changes every affected derivation, so the normal # nixpkgs binary cache cannot be used and upstream test suites run locally. # The jeeves builder uses /tmp/nix-builds so filesystem tests run on tmpfs # instead of ZFS with normalization=formD and utf8only=on; those tests remain # enabled. This overlay no longer excludes any tests. The remaining settings # bound nested worker concurrency and allow time for worker startup under load. # Test repairs and their validation are indexed in patches/README.md. _final: prev: { pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ (_pythonFinal: pythonPrev: { pytest-xdist = pythonPrev.pytest-xdist.overridePythonAttrs (old: { # The suite exercises its own worker pools. Run the outer suite with one # worker and allow inner workers more time on heavily loaded builders. postPatch = (old.postPatch or "") + '' substituteInPlace testing/test_remote.py \ --replace-fail "WAIT_TIMEOUT = 10.0" "WAIT_TIMEOUT = 60.0" ''; preCheck = builtins.replaceStrings [ "--numprocesses=$NIX_BUILD_CORES" ] [ "--numprocesses=1" ] ( old.preCheck or "" ); }); }) ]; }