diff options
author | John Newbery <john@johnnewbery.com> | 2017-12-08 11:45:46 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-12-11 09:17:21 -0500 |
commit | 74e64f24b8cb701379b34442f21332361dcc91f9 (patch) | |
tree | 3ee92d07ceebf41e012931c689d74beda27ebe73 /test/functional/maxuploadtarget.py | |
parent | 5fc6e71d1994d58c25edebd8063555998752349a (diff) | |
download | bitcoin-74e64f24b8cb701379b34442f21332361dcc91f9.tar.xz |
[tests] Use network_thread_start() in tests.
Diffstat (limited to 'test/functional/maxuploadtarget.py')
-rwxr-xr-x | test/functional/maxuploadtarget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/maxuploadtarget.py b/test/functional/maxuploadtarget.py index 5ef71c93cf..cf2e484d9f 100755 --- a/test/functional/maxuploadtarget.py +++ b/test/functional/maxuploadtarget.py @@ -57,7 +57,7 @@ class MaxUploadTest(BitcoinTestFramework): for _ in range(3): p2p_conns.append(self.nodes[0].add_p2p_connection(TestNode())) - NetworkThread().start() # Start up network handling in another thread + network_thread_start() for p2pc in p2p_conns: p2pc.wait_for_verack() @@ -149,7 +149,7 @@ class MaxUploadTest(BitcoinTestFramework): # Reconnect to self.nodes[0] self.nodes[0].add_p2p_connection(TestNode()) - NetworkThread().start() # Start up network handling in another thread + network_thread_start() self.nodes[0].p2p.wait_for_verack() #retrieve 20 blocks which should be enough to break the 1MB limit |