diff options
Diffstat (limited to 'test/functional/p2p_eviction.py')
-rwxr-xr-x | test/functional/p2p_eviction.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/p2p_eviction.py b/test/functional/p2p_eviction.py index 0d2bdcc429..9809faa682 100755 --- a/test/functional/p2p_eviction.py +++ b/test/functional/p2p_eviction.py @@ -34,13 +34,13 @@ from test_framework.wallet import MiniWallet class SlowP2PDataStore(P2PDataStore): def on_ping(self, message): time.sleep(0.1) - self.send_message(msg_pong(message.nonce)) + self.send_without_ping(msg_pong(message.nonce)) class SlowP2PInterface(P2PInterface): def on_ping(self, message): time.sleep(0.1) - self.send_message(msg_pong(message.nonce)) + self.send_without_ping(msg_pong(message.nonce)) class P2PEvict(BitcoinTestFramework): @@ -82,7 +82,7 @@ class P2PEvict(BitcoinTestFramework): txpeer.sync_with_ping() tx = self.wallet.create_self_transfer()['tx'] - txpeer.send_message(msg_tx(tx)) + txpeer.send_without_ping(msg_tx(tx)) protected_peers.add(current_peer) self.log.info("Create 8 peers and protect them from eviction by having faster pings") |