aboutsummaryrefslogtreecommitdiff
path: root/test/functional/bip65-cltv-p2p.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-12-12 12:52:33 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-12-12 13:09:52 +0100
commitad1820cbad15c4eb4e2c86ac8032d0fb1b7b7c35 (patch)
tree308324eaa7fb21e00753fde70c7ee9c45a8da956 /test/functional/bip65-cltv-p2p.py
parentd48ab83f00538a5135b2c448809260a9d46ca31c (diff)
parent5c8ff26b2fc59d8bcfa2a8bfb7c9fe6d78cf6678 (diff)
Merge #11849: [tests] Assert that only one NetworkThread exists
5c8ff26 [tests] Add NetworkThread assertions (John Newbery) 34e08b3 [tests] Fix network threading in functional tests (John Newbery) 74e64f2 [tests] Use network_thread_start() in tests. (John Newbery) 5fc6e71 [tests] Add network_thread_ utility functions. (John Newbery) Pull request description: Add assert that only one NetworkThread exists at any time in functional tests, and fix cases where that wasn't true. fixes #11776 Tree-SHA512: fe5d1c59005f94bf66e11bb23ccf274b1cd9913741b56ea11dbcd21db4cc0b53b4413c0c4c16dbcd6ac611adad5e5cc2baaa39720598ce7b6393889945d06298
Diffstat (limited to 'test/functional/bip65-cltv-p2p.py')
-rwxr-xr-xtest/functional/bip65-cltv-p2p.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/bip65-cltv-p2p.py b/test/functional/bip65-cltv-p2p.py
index 2af5eb275f..f4df879723 100755
--- a/test/functional/bip65-cltv-p2p.py
+++ b/test/functional/bip65-cltv-p2p.py
@@ -68,7 +68,7 @@ class BIP65Test(BitcoinTestFramework):
def run_test(self):
self.nodes[0].add_p2p_connection(P2PInterface())
- NetworkThread().start() # Start up network handling in another thread
+ network_thread_start()
# wait_for_verack ensures that the P2P connection is fully up.
self.nodes[0].p2p.wait_for_verack()