From fa4dfd215f62e88d668311701735c332c264fa2a Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 4 Aug 2020 12:55:35 +0200 Subject: test: Wait until is_connected in add_p2p_connection --- test/functional/p2p_filter.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test/functional/p2p_filter.py') diff --git a/test/functional/p2p_filter.py b/test/functional/p2p_filter.py index c8e2616b79..ce3856fc95 100755 --- a/test/functional/p2p_filter.py +++ b/test/functional/p2p_filter.py @@ -218,11 +218,6 @@ class FilterTest(BitcoinTestFramework): # Add peer but do not send version yet filter_peer_without_nrelay = self.nodes[0].add_p2p_connection(P2PBloomFilter(), send_version=False, wait_for_verack=False) # Send version with fRelay=False - filter_peer_without_nrelay.wait_until( - lambda: filter_peer_without_nrelay.is_connected, - timeout=10, - check_connected=False, - ) version_without_fRelay = msg_version() version_without_fRelay.nRelay = 0 filter_peer_without_nrelay.send_message(version_without_fRelay) -- cgit v1.2.3