GH-98219: reduce sleep time in asyncio subprocess test (#99464)

This commit is contained in:
Kumar Aditya 2022-11-15 01:23:11 +05:30 committed by GitHub
parent f63002755d
commit 619cadcda6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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