diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-04-27 13:32:23 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-04-28 08:16:29 +0200 |
commit | faa51ef4d33034f8c14cfd18f1c01c90883a1bb4 (patch) | |
tree | fc99d13079acbab38be723e68b3391b73371081f /test/functional/p2p_blocksonly.py | |
parent | fa37116c820f6a84642d57ce709a5977fd5616c4 (diff) | |
download | bitcoin-faa51ef4d33034f8c14cfd18f1c01c90883a1bb4.tar.xz |
test: Fix intermittent issue in p2p_addr_relay.py
Diffstat (limited to 'test/functional/p2p_blocksonly.py')
-rwxr-xr-x | test/functional/p2p_blocksonly.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/functional/p2p_blocksonly.py b/test/functional/p2p_blocksonly.py index 6584efae79..445cea6186 100755 --- a/test/functional/p2p_blocksonly.py +++ b/test/functional/p2p_blocksonly.py @@ -89,11 +89,7 @@ class P2PBlocksOnly(BitcoinTestFramework): # Bump time forward to ensure nNextInvSend timer pops self.nodes[0].setmocktime(int(time.time()) + 60) - # Calling sync_with_ping twice requires that the node calls - # `ProcessMessage` twice, and thus ensures `SendMessages` must have - # been called at least once - conn.sync_with_ping() - conn.sync_with_ping() + conn.sync_send_with_ping() assert(int(txid, 16) not in conn.get_invs()) def check_p2p_tx_violation(self, index=1): |