]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-98219: reduce sleep time in `asyncio` subprocess test (GH-99464)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Nov 2022 15:52:38 +0000 (07:52 -0800)
committerGitHub <noreply@github.com>
Tue, 15 Nov 2022 15:52:38 +0000 (07:52 -0800)
(cherry picked from commit 619cadcda6a8ba4a038c1807b6566a90e25db934)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Lib/test/test_asyncio/test_subprocess.py

index 4c0140d80ba7f60db2fc4a5da33c446146409486..f71ad72f999ee9931e948cdd117177670c2f4e98 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