bpo-38614: Increase asyncio test_communicate() timeout (GH-16995)
Fix test_communicate() of test_asyncio.test_subprocess: use support.LONG_TIMEOUT (5 minutes), instead of 1 minute.
This commit is contained in:
parent
6c3e66a34b
commit
a4ed6ed9f3
|
@ -143,7 +143,7 @@ class SubprocessMixin:
|
|||
return proc.returncode, stdout
|
||||
|
||||
task = run(b'some data')
|
||||
task = asyncio.wait_for(task, 60.0)
|
||||
task = asyncio.wait_for(task, support.LONG_TIMEOUT)
|
||||
exitcode, stdout = self.loop.run_until_complete(task)
|
||||
self.assertEqual(exitcode, 0)
|
||||
self.assertEqual(stdout, b'some data')
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Fix test_communicate() of test_asyncio.test_subprocess: use
|
||||
``support.LONG_TIMEOUT`` (5 minutes), instead of just 1 minute.
|
Loading…
Reference in New Issue