aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_node_network_limited.py
diff options
context:
space:
mode:
authorgzhao408 <gzhao408@berkeley.edu>2020-06-12 15:03:33 -0700
committergzhao408 <gzhao408@berkeley.edu>2020-06-16 08:28:55 -0700
commit9a40cfc558b3f7fa4fff1270f969582af17479a5 (patch)
treeca2499b791744c85dbd310697aeb26f7cade96ff /test/functional/p2p_node_network_limited.py
parentaeb9fb414e2d000830287d9dd3fed7fc2eb570d2 (diff)
[refactor] use waiting inside disconnect_p2ps
-Use wait_for_disconnect instead of manual wait after calling disconnect_p2ps.
Diffstat (limited to 'test/functional/p2p_node_network_limited.py')
-rwxr-xr-xtest/functional/p2p_node_network_limited.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/p2p_node_network_limited.py b/test/functional/p2p_node_network_limited.py
index ed3429a037..a2f6ea538c 100755
--- a/test/functional/p2p_node_network_limited.py
+++ b/test/functional/p2p_node_network_limited.py
@@ -83,7 +83,6 @@ class NodeNetworkLimitedTest(BitcoinTestFramework):
assert_equal(node1.firstAddrnServices, expected_services)
self.nodes[0].disconnect_p2ps()
- node1.wait_for_disconnect()
# connect unsynced node 2 with pruned NODE_NETWORK_LIMITED peer
# because node 2 is in IBD and node 0 is a NODE_NETWORK_LIMITED peer, sync must not be possible