diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2015-10-10 22:41:19 -0700 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2015-11-11 10:33:43 -0800 |
commit | b5cbd396ca7214f4f944163ed314456038fdd818 (patch) | |
tree | 840fb2890c1b703c0b5d08d19a103003ae238eb4 /qa/rpc-tests/getblocktemplate_longpoll.py | |
parent | 3038eb63e8a674b4818cb5d5e461f1ccf4b2932f (diff) |
Add basic coverage reporting for RPC tests
Thanks to @MarcoFalke @dexX7 @laanwj for review.
Diffstat (limited to 'qa/rpc-tests/getblocktemplate_longpoll.py')
-rwxr-xr-x | qa/rpc-tests/getblocktemplate_longpoll.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/getblocktemplate_longpoll.py b/qa/rpc-tests/getblocktemplate_longpoll.py index aab4562422..1ddff8a298 100755 --- a/qa/rpc-tests/getblocktemplate_longpoll.py +++ b/qa/rpc-tests/getblocktemplate_longpoll.py @@ -38,7 +38,7 @@ class LongpollThread(threading.Thread): self.longpollid = templat['longpollid'] # create a new connection to the node, we can't use the same # connection from two threads - self.node = AuthServiceProxy(node.url, timeout=600) + self.node = get_rpc_proxy(node.url, 1, timeout=600) def run(self): self.node.getblocktemplate({'longpollid':self.longpollid}) |