Add basic coverage reporting for RPC tests
Thanks to @MarcoFalke @dexX7 @laanwj for review.
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user