From e7c8f2ff739e9787d3dd665561648d6b5fb0cc0e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 4 Jun 2021 05:26:53 +0200 Subject: [PATCH] python3Packages.aiomultiprocess: disable failing tests These tests fail from time to time and bring the whole test suite to a timeout. https://github.com/omnilib/aiomultiprocess/issues/97 (cherry picked from commit c8261a34f80d67223589a498bc0acd4713ab21b3) --- .../python-modules/aiomultiprocess/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/aiomultiprocess/default.nix b/pkgs/development/python-modules/aiomultiprocess/default.nix index 7b84996a1c9..6403f396eaa 100644 --- a/pkgs/development/python-modules/aiomultiprocess/default.nix +++ b/pkgs/development/python-modules/aiomultiprocess/default.nix @@ -24,6 +24,14 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "aiomultiprocess/tests/*.py" ]; + + disabledTests = [ + # tests are flaky and make the whole test suite time out + "test_pool_worker_exceptions" + "test_pool_worker_max_tasks" + "test_pool_worker_stop" + ]; + pythonImportsCheck = [ "aiomultiprocess" ]; meta = with lib; {