Merge pull request #2468 from dnephin/increase_timeout_in_tests
Increase timeout in tests
This commit is contained in:
commit
50dcb1d7e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue