aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p-acceptblock.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-11-08 16:28:17 -0500
committerMarcoFalke <falke.marco@gmail.com>2017-11-13 15:27:10 -0500
commitfaaa7db25e94cf02818865e3d27707d6acaa1e25 (patch)
tree9756d0680de4fc9bda2394a24ff28fc3f09e1401 /test/functional/p2p-acceptblock.py
parentf7388e93d3dd91a90239aedac4ec58404f103a2e (diff)
qa: Only allow disconnecting all NodeConns
Diffstat (limited to 'test/functional/p2p-acceptblock.py')
-rwxr-xr-xtest/functional/p2p-acceptblock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p-acceptblock.py b/test/functional/p2p-acceptblock.py
index fbe5a78029..ca0e0080a1 100755
--- a/test/functional/p2p-acceptblock.py
+++ b/test/functional/p2p-acceptblock.py
@@ -206,7 +206,7 @@ class AcceptBlockTest(BitcoinTestFramework):
# The node should have requested the blocks at some point, so
# disconnect/reconnect first
- self.nodes[0].disconnect_p2p()
+ self.nodes[0].disconnect_p2ps()
test_node = self.nodes[0].add_p2p_connection(NodeConnCB())
test_node.wait_for_verack()
@@ -291,7 +291,7 @@ class AcceptBlockTest(BitcoinTestFramework):
except AssertionError:
test_node.wait_for_disconnect()
- self.nodes[0].disconnect_p2p()
+ self.nodes[0].disconnect_p2ps()
test_node = self.nodes[0].add_p2p_connection(NodeConnCB())
NetworkThread().start() # Start up network handling in another thread