Commit d4848ee1 authored by Philip ABBET's avatar Philip ABBET
Browse files

Fix the test_docker.AsyncTest.test_does_not_timeout unittest

parent 8f557ca0
Pipeline #6190 failed with stage
in 3 minutes and 21 seconds
......@@ -111,7 +111,7 @@ class AsyncTest(unittest.TestCase):
sleep_for = 0.5 # seconds
with Popen(, 'debian:8.4', ["sleep", str(sleep_for)]) as p:
status = p.wait(1) #should not timeout
status = p.wait(5) #should not timeout
self.assertEqual(p.status(), 'exited')
self.assertEqual(status, 0)
self.assertEqual(p.stdout, '')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment