Browse Source

[tests] Make wait_until timeout 60 seconds by default

pull/1/head
John Newbery 5 years ago
parent
commit
b0bfa233a1
  1. 2
      test/functional/test_framework/mininode.py

2
test/functional/test_framework/mininode.py

@ -1358,6 +1358,8 @@ class msg_reject(object): @@ -1358,6 +1358,8 @@ class msg_reject(object):
# Helper function
def wait_until(predicate, *, attempts=float('inf'), timeout=float('inf')):
if attempts == float('inf') and timeout == float('inf'):
timeout = 60
attempt = 0
elapsed = 0

Loading…
Cancel
Save