summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-10-30 15:00:44 (GMT)
committerGitHub <noreply@github.com>2019-10-30 15:00:44 (GMT)
commita4ed6ed9f3779b6eda41bb65f5c09004a2b937ef (patch)
tree4f4f8a9c2794baa4792113e7cae5e7be0a32acb5 /Lib/test/test_asyncio
parent6c3e66a34b95fff07df0ad5086104dd637a091ce (diff)
downloadcpython-a4ed6ed9f3779b6eda41bb65f5c09004a2b937ef.zip
cpython-a4ed6ed9f3779b6eda41bb65f5c09004a2b937ef.tar.gz
cpython-a4ed6ed9f3779b6eda41bb65f5c09004a2b937ef.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index fe8cfa6..17552d0 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -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')