From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 15 Nov 2022 15:52:38 +0000 (-0800) Subject: GH-98219: reduce sleep time in `asyncio` subprocess test (GH-99464) X-Git-Tag: v3.11.1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1e8a15abfa54b0801b4c5978d2b531494260a96;p=thirdparty%2FPython%2Fcpython.git GH-98219: reduce sleep time in `asyncio` subprocess test (GH-99464) (cherry picked from commit 619cadcda6a8ba4a038c1807b6566a90e25db934) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> --- diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 4c0140d80ba7..f71ad72f999e 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