summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-25 12:05:07 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-25 12:05:07 (GMT)
commit2955a0bf06807d4e00ad053a7e2acb516939859e (patch)
tree97c7cc3a08c78c4f9c0c1581d7c4f0a41ba0c91e
parent18a28dc5c28ae9a953f537486780159ddb768702 (diff)
downloadcpython-2955a0bf06807d4e00ad053a7e2acb516939859e.zip
cpython-2955a0bf06807d4e00ad053a7e2acb516939859e.tar.gz
cpython-2955a0bf06807d4e00ad053a7e2acb516939859e.tar.bz2
asyncio, test_subprocess: relax timings for slow builbots
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index a4e9df2..b5b1012 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -42,7 +42,7 @@ class SubprocessMixin:
return (exitcode, data)
task = run(b'some data')
- task = asyncio.wait_for(task, 10.0, loop=self.loop)
+ task = asyncio.wait_for(task, 60.0, loop=self.loop)
exitcode, stdout = self.loop.run_until_complete(task)
self.assertEqual(exitcode, 0)
self.assertEqual(stdout, b'some data')
@@ -61,7 +61,7 @@ class SubprocessMixin:
return proc.returncode, stdout
task = run(b'some data')
- task = asyncio.wait_for(task, 10.0, loop=self.loop)
+ task = asyncio.wait_for(task, 60.0, loop=self.loop)
exitcode, stdout = self.loop.run_until_complete(task)
self.assertEqual(exitcode, 0)
self.assertEqual(stdout, b'some data')