refactor(overlays): consolidate test patches

This commit is contained in:
2026-09-19 22:42:44 -04:00
parent 5b4bc4b72f
commit fee4d31971
6 changed files with 56 additions and 45 deletions
+9 -1
View File
@@ -1,4 +1,12 @@
{ pytest-xdist }:
pytest-xdist.overridePythonAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./concurrent-worker-crashes.patch ];
patches = (old.patches or [ ]) ++ [
./concurrent-worker-crashes.patch
./worker-startup-timeout.patch
];
# The suite exercises its own worker pools. Limit the outer suite to one worker.
preCheck = builtins.replaceStrings [ "--numprocesses=$NIX_BUILD_CORES" ] [ "--numprocesses=1" ] (
old.preCheck or ""
);
})