From faaa7db25e94cf02818865e3d27707d6acaa1e25 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Wed, 8 Nov 2017 16:28:17 -0500 Subject: qa: Only allow disconnecting all NodeConns --- test/functional/p2p-leaktests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/functional/p2p-leaktests.py') diff --git a/test/functional/p2p-leaktests.py b/test/functional/p2p-leaktests.py index 2499624f2d..0a03095b1a 100755 --- a/test/functional/p2p-leaktests.py +++ b/test/functional/p2p-leaktests.py @@ -126,8 +126,7 @@ class P2PLeakTest(BitcoinTestFramework): assert not unsupported_service_bit5_node.connected assert not unsupported_service_bit7_node.connected - for _ in range(5): - self.nodes[0].disconnect_p2p() + self.nodes[0].disconnect_p2ps() # Wait until all connections are closed wait_until(lambda: len(self.nodes[0].getpeerinfo()) == 0) -- cgit v1.2.3