diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-06-18 17:28:37 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-06-25 14:06:41 -0400 |
commit | fa87da2f172ae2e6dc15e9ed156a3564a8ecfbdd (patch) | |
tree | 2693cae5718e45e84182d85a4d041fc084d6bd8e /test/functional/p2p_compactblocks.py | |
parent | fa1eac9cdb1a491d5947b6972b87833792a16fe3 (diff) |
qa: Avoid start/stop of the network thread mid-test
Diffstat (limited to 'test/functional/p2p_compactblocks.py')
-rwxr-xr-x | test/functional/p2p_compactblocks.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/p2p_compactblocks.py b/test/functional/p2p_compactblocks.py index 37849e9213..17aacd8152 100755 --- a/test/functional/p2p_compactblocks.py +++ b/test/functional/p2p_compactblocks.py @@ -788,13 +788,11 @@ class CompactBlocksTest(BitcoinTestFramework): assert_equal(int(node.getbestblockhash(), 16), block.sha256) def run_test(self): - # Setup the p2p connections and start up the network thread. + # Setup the p2p connections self.test_node = self.nodes[0].add_p2p_connection(TestP2PConn()) self.segwit_node = self.nodes[1].add_p2p_connection(TestP2PConn(), services=NODE_NETWORK|NODE_WITNESS) self.old_node = self.nodes[1].add_p2p_connection(TestP2PConn(), services=NODE_NETWORK) - network_thread_start() - self.test_node.wait_for_verack() # We will need UTXOs to construct transactions in later tests. |