diff --git a/qa/rpc-tests/getblocktemplate_longpoll.py b/qa/rpc-tests/getblocktemplate_longpoll.py --- a/qa/rpc-tests/getblocktemplate_longpoll.py +++ b/qa/rpc-tests/getblocktemplate_longpoll.py @@ -32,7 +32,7 @@ def __init__(self): super().__init__() - self.num_nodes = 4 + self.num_nodes = 2 self.setup_clean_chain = False def run_test(self): @@ -84,5 +84,6 @@ thr.join(60 + 20) assert(not thr.is_alive()) + if __name__ == '__main__': GetBlockTemplateLPTest().main()