Skip to content

Commit b0bfa23

Browse files
committed
[tests] Make wait_until timeout 60 seconds by default
1 parent 6a796b2 commit b0bfa23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/test_framework/mininode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,8 @@ def __repr__(self):
13581358

13591359
# Helper function
13601360
def wait_until(predicate, *, attempts=float('inf'), timeout=float('inf')):
1361+
if attempts == float('inf') and timeout == float('inf'):
1362+
timeout = 60
13611363
attempt = 0
13621364
elapsed = 0
13631365

0 commit comments

Comments
 (0)