Skip to content

Commit be2a2ab

Browse files
committed
[tests] fix - use rpc_timeout as rpc timeout
1 parent affe927 commit be2a2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_framework/test_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def wait_for_rpc_connection(self):
7474
for _ in range(poll_per_s * self.rpc_timeout):
7575
assert self.process.poll() is None, "bitcoind exited with status %i during initialization" % self.process.returncode
7676
try:
77-
self.rpc = get_rpc_proxy(rpc_url(self.datadir, self.index, self.rpchost), self.index, coveragedir=self.coverage_dir)
77+
self.rpc = get_rpc_proxy(rpc_url(self.datadir, self.index, self.rpchost), self.index, timeout=self.rpc_timeout, coveragedir=self.coverage_dir)
7878
self.rpc.getblockcount()
7979
# If the call to getblockcount() succeeds then the RPC connection is up
8080
self.rpc_connected = True

0 commit comments

Comments
 (0)