diff options
| author | Suhas Daftuar <[email protected]> | 2016-09-30 20:54:30 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2016-09-30 20:54:30 -0400 |
| commit | b5fd666984fdb7125cb809c773b36034f32128cc (patch) | |
| tree | 6d9d05da9024915f15fcfb6f6fffd23b7dc82bd3 /qa/rpc-tests/test_framework | |
| parent | Merge #8790: [test] Remove redundant debug print in addrman_tests (diff) | |
| download | discoin-b5fd666984fdb7125cb809c773b36034f32128cc.tar.xz discoin-b5fd666984fdb7125cb809c773b36034f32128cc.zip | |
[qa] Fix race condition in p2p-compactblocks test
Also fix a bug in the sync_with_ping() helper function
Diffstat (limited to 'qa/rpc-tests/test_framework')
| -rwxr-xr-x | qa/rpc-tests/test_framework/mininode.py | 2 |
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 caffab353..0b7b17cdb 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 |