From c217dc9717e9250e5cd05139e2dee3c8fa150e49 Mon Sep 17 00:00:00 2001 From: Frank Doepper Date: Tue, 4 Jun 2024 09:26:08 +0200 Subject: [PATCH] python3Packages.clustershell: remove blocking test remove tests/TreeGatewayTest.py because it does not return. apparently def wait(self): """wait for task/thread termination""" # can be blocked indefinitely if StreamWorker doesn't complete self.task.join() does apply in nix sandbox fixes #315146 --- pkgs/development/python-modules/clustershell/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/clustershell/default.nix b/pkgs/development/python-modules/clustershell/default.nix index 5617813d7443..284e5a0eb53a 100644 --- a/pkgs/development/python-modules/clustershell/default.nix +++ b/pkgs/development/python-modules/clustershell/default.nix @@ -69,10 +69,9 @@ buildPythonPackage rec { rm tests/TaskDistantPdshMixin.py rm tests/TaskDistantPdshTest.py rm tests/TaskRLimitsTest.py + rm tests/TreeGatewayTest.py nosetests -v \ - -e test_channel_ctl_shell_remote1 \ - -e test_channel_ctl_shell_remote2 \ -e test_fromall_grouplist \ -e test_rank_placeholder \ -e test_engine_on_the_fly_launch \ @@ -92,9 +91,6 @@ buildPythonPackage rec { -e testClushConfigSetRlimit \ -e testTimerInvalidateInHandler \ -e testTimerSetNextFireInHandler \ - -e test_channel_ctl_shell_mlocal1 \ - -e test_channel_ctl_shell_mlocal2 \ - -e test_channel_ctl_shell_mlocal3 \ -e test_node_placeholder \ tests/*.py '';