qa: Avoid start/stop of the network thread mid-test

This commit is contained in:
MarcoFalke 2018-06-18 17:28:37 -04:00
commit fa87da2f17
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
26 changed files with 95 additions and 220 deletions
test/functional

View file

@ -41,7 +41,6 @@ from test_framework.messages import (
)
from test_framework.mininode import (
P2PInterface,
network_thread_start,
)
@ -262,7 +261,6 @@ class BlockchainTest(BitcoinTestFramework):
# Start a P2P connection since we'll need to create some blocks.
node.add_p2p_connection(P2PInterface())
network_thread_start()
node.p2p.wait_for_verack()
current_height = node.getblock(node.getbestblockhash())['height']