tandoor-recipes: limit parallelism
On as 96 core machine the tests failed left, right and center with all kinds of errors. This seems to be more stable.
This commit is contained in:
@@ -22,6 +22,11 @@ python.pkgs.buildPythonPackage {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# high parallelism let the tests easily fail with concurrent errors
|
||||
if (( $NIX_BUILD_CORES > 4)); then
|
||||
NIX_BUILD_CORES=4
|
||||
fi
|
||||
|
||||
substituteInPlace pytest.ini --subst-var NIX_BUILD_CORES
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user