aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/getblocktemplate_longpoll.py
diff options
context:
space:
mode:
authorJames O'Beirne <[email protected]>2015-10-10 22:41:19 -0700
committerJames O'Beirne <[email protected]>2015-11-11 10:33:43 -0800
commitb5cbd396ca7214f4f944163ed314456038fdd818 (patch)
tree840fb2890c1b703c0b5d08d19a103003ae238eb4 /qa/rpc-tests/getblocktemplate_longpoll.py
parentMerge pull request #6934 (diff)
downloaddiscoin-b5cbd396ca7214f4f944163ed314456038fdd818.tar.xz
discoin-b5cbd396ca7214f4f944163ed314456038fdd818.zip
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-xqa/rpc-tests/getblocktemplate_longpoll.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/getblocktemplate_longpoll.py b/qa/rpc-tests/getblocktemplate_longpoll.py
index aab456242..1ddff8a29 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})