asyncio, test_subprocess: relax timings for slow builbots
This commit is contained in:
parent
18a28dc5c2
commit
2955a0bf06
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue