]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-98219: reduce sleep time in `asyncio` subprocess test (#99464)
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Mon, 14 Nov 2022 19:53:11 +0000 (01:23 +0530)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 19:53:11 +0000 (11:53 -0800)
Lib/test/test_asyncio/test_subprocess.py

index 20bca3e6b72736dd100255dc93bac5feef45c228..7411f735da3be6da76519f899756a2805c6160b2 100644 (file)
@@ -185,7 +185,7 @@ class SubprocessMixin:
 
     def test_kill_issue43884(self):
         if sys.platform == 'win32':
-            blocking_shell_command = f'{sys.executable} -c "import time; time.sleep(100000000)"'
+            blocking_shell_command = f'{sys.executable} -c "import time; time.sleep(2)"'
         else:
             blocking_shell_command = 'sleep 1; sleep 1'
         creationflags = 0