From 4491132f703b9654758705795e8797601c20ab96 Mon Sep 17 00:00:00 2001 From: Jithu Murugan <j.murugan@fz-juelich.de> Date: Tue, 25 Feb 2025 16:19:01 +0100 Subject: [PATCH] Revert "- Added a 10 minute timeout for testing if any specific command hangs on subprocess.run command!" This reverts commit ca24dca8bfb424b741d9fe927312f0aec5f38e69. --- dedal/tests/unit_tests/utils_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dedal/tests/unit_tests/utils_test.py b/dedal/tests/unit_tests/utils_test.py index 6bb6eda9..cd478606 100644 --- a/dedal/tests/unit_tests/utils_test.py +++ b/dedal/tests/unit_tests/utils_test.py @@ -104,7 +104,7 @@ def test_run_command_success(mocker): mock_logger = MagicMock() result = run_command('bash', '-c', 'echo hello', logger=mock_logger, info_msg="Running echo") mock_logger.info.assert_called_with("Running echo: args: ('bash', '-c', 'echo hello')") - mock_subprocess.assert_called_once_with(('bash', '-c', 'echo hello'), timeout=600) + mock_subprocess.assert_called_once_with(('bash', '-c', 'echo hello')) assert result.returncode == 0 -- GitLab