diff --git a/test/test_execution.py b/test/test_execution.py index 133e8d4c..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.1) # 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])