Unverified Commit fd089b24 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

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.
parent 4214cdd7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
  '';