aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-10-01 11:19:16 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-10-01 11:19:22 +0200
commit6faffb8a83db3f209a303a4464dbdd597faad5a4 (patch)
tree43ec57e3d56887d86af4feaded93120668916340 /qa/rpc-tests/test_framework
parent7b784cc2bbcdc90361add2adb657c58162aca4ef (diff)
parentb5fd666984fdb7125cb809c773b36034f32128cc (diff)
downloadbitcoin-6faffb8a83db3f209a303a4464dbdd597faad5a4.tar.xz
Merge #8854: [qa] Fix race condition in p2p-compactblocks test
b5fd666 [qa] Fix race condition in p2p-compactblocks test (Suhas Daftuar)
Diffstat (limited to 'qa/rpc-tests/test_framework')
-rwxr-xr-xqa/rpc-tests/test_framework/mininode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py
index caffab3535..0b7b17cdb5 100755
--- a/qa/rpc-tests/test_framework/mininode.py
+++ b/qa/rpc-tests/test_framework/mininode.py
@@ -1536,7 +1536,7 @@ class SingleNodeConnCB(NodeConnCB):
def received_pong():
return (self.last_pong.nonce == self.ping_counter)
self.send_message(msg_ping(nonce=self.ping_counter))
- success = wait_until(received_pong, timeout)
+ success = wait_until(received_pong, timeout=timeout)
self.ping_counter += 1
return success