From d33c2dcba7852234657cca6bce5aed584bcc9e2a Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 12 Nov 2019 20:10:14 -0500 Subject: Put an end time for timeout command just as a precaution --- tests/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_utils.py b/tests/test_utils.py index 312acdf0..52adc7cd 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -230,11 +230,11 @@ def pr_none(): # Start a long running process so we have time to run tests on it before it finishes # Put the new process into a separate group so signals sent to it won't interfere with this process if sys.platform.startswith('win'): - command = 'timeout -t -1 /nobreak' + command = 'timeout -t 5 /nobreak' creationflags = subprocess.CREATE_NEW_PROCESS_GROUP start_new_session = False else: - command = 'sleep 10' + command = 'sleep 5' creationflags = 0 start_new_session = True -- cgit v1.2.1