From fd089b24cf6a459e3f8bd6268ce43d1886c9ec3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 11 Apr 2025 15:09:17 +0200 Subject: [PATCH] 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. --- pkgs/by-name/ta/tandoor-recipes/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ta/tandoor-recipes/package.nix b/pkgs/by-name/ta/tandoor-recipes/package.nix index 8e7e30985e83..ebc3e3fec08d 100644 --- a/pkgs/by-name/ta/tandoor-recipes/package.nix +++ b/pkgs/by-name/ta/tandoor-recipes/package.nix @@ -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 '';