From 4742aea58ef7dff5e6baf26556bdc8f3ef35287b Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Wed, 11 Sep 2024 09:33:19 -0500 Subject: [PATCH] Give more time to start process On PyPy (3.8, 3.9, 3.10) 0.01s was not long enough --- test/test_execution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_execution.py b/test/test_execution.py index 352b3878..21e1a1aa 100644 --- a/test/test_execution.py +++ b/test/test_execution.py @@ -209,7 +209,7 @@ def runner() -> int: thread = threading.Thread(target=runner) thread.start() - sleep(0.01) # make sure the process is started + sleep(0.03) # make sure the process is started ps_command = "ps aux | grep '[s]leep 60.74016230000801'" # brackets to not match grep process ps_output = subprocess.check_output(ps_command, shell=True).decode() pid = int(ps_output.split()[1])