diff options
author | John Newbery <john@johnnewbery.com> | 2017-08-24 11:11:56 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-09-01 12:25:55 -0400 |
commit | 7148b74dc39110f53c665b94fa9d994c6ad6dc1c (patch) | |
tree | ddece712dcd461829ca3b5133b47a14cb945c96a /test/functional/getblocktemplate_longpoll.py | |
parent | 5448a1471d6fc638a2220ea5a2f3782172efe14c (diff) |
[tests] Functional tests must explicitly set num_nodes
Diffstat (limited to 'test/functional/getblocktemplate_longpoll.py')
-rwxr-xr-x | test/functional/getblocktemplate_longpoll.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/getblocktemplate_longpoll.py b/test/functional/getblocktemplate_longpoll.py index 85d2560244..89768bd2fb 100755 --- a/test/functional/getblocktemplate_longpoll.py +++ b/test/functional/getblocktemplate_longpoll.py @@ -23,6 +23,9 @@ class LongpollThread(threading.Thread): self.node.getblocktemplate({'longpollid':self.longpollid}) class GetBlockTemplateLPTest(BitcoinTestFramework): + def set_test_params(self): + self.num_nodes = 2 + def run_test(self): self.log.info("Warning: this test will take about 70 seconds in the best case. Be patient.") self.nodes[0].generate(10) |