瀏覽代碼

[tests] Make wait_until timeout 60 seconds by default

tags/v0.15.1
John Newbery 4 年之前
父節點
當前提交
b0bfa233a1
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      test/functional/test_framework/mininode.py

+ 2
- 0
test/functional/test_framework/mininode.py 查看文件

@@ -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…
取消
儲存