From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Mon, 14 Nov 2022 19:53:11 +0000 (+0530) Subject: GH-98219: reduce sleep time in `asyncio` subprocess test (#99464) X-Git-Tag: v3.12.0a3~191^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=619cadcda6a8ba4a038c1807b6566a90e25db934;p=thirdparty%2FPython%2Fcpython.git GH-98219: reduce sleep time in `asyncio` subprocess test (#99464) --- diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 20bca3e6b727..7411f735da3b 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -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