Increase timeout in tests.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-11-27 13:54:00 -05:00
parent defcf5a21f
commit 377f084dfe
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def wait_on_process(proc, returncode=0):
return ProcessResult(stdout.decode('utf-8'), stderr.decode('utf-8'))
def wait_on_condition(condition, delay=0.1, timeout=5):
def wait_on_condition(condition, delay=0.1, timeout=20):
start_time = time.time()
while not condition():
if time.time() - start_time > timeout: