mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
tests: Apply --timeoutscale
option to rpc timeouts (#3982)
This commit is contained in:
parent
4c1a04a254
commit
f22d5e2aaa
@ -26,6 +26,7 @@ from .util import (
|
||||
wait_until,
|
||||
p2p_port,
|
||||
get_chain_folder,
|
||||
Options
|
||||
)
|
||||
|
||||
# For Python 3.4 compatibility
|
||||
@ -62,6 +63,7 @@ class TestNode():
|
||||
else:
|
||||
# Wait for up to 60 seconds for the RPC server to respond
|
||||
self.rpc_timeout = 60
|
||||
self.rpc_timeout *= Options.timeout_scale
|
||||
self.binary = bitcoind
|
||||
self.stderr = stderr
|
||||
self.coverage_dir = coverage_dir
|
||||
|
Loading…
Reference in New Issue
Block a user