mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +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,
|
wait_until,
|
||||||
p2p_port,
|
p2p_port,
|
||||||
get_chain_folder,
|
get_chain_folder,
|
||||||
|
Options
|
||||||
)
|
)
|
||||||
|
|
||||||
# For Python 3.4 compatibility
|
# For Python 3.4 compatibility
|
||||||
@ -62,6 +63,7 @@ class TestNode():
|
|||||||
else:
|
else:
|
||||||
# Wait for up to 60 seconds for the RPC server to respond
|
# Wait for up to 60 seconds for the RPC server to respond
|
||||||
self.rpc_timeout = 60
|
self.rpc_timeout = 60
|
||||||
|
self.rpc_timeout *= Options.timeout_scale
|
||||||
self.binary = bitcoind
|
self.binary = bitcoind
|
||||||
self.stderr = stderr
|
self.stderr = stderr
|
||||||
self.coverage_dir = coverage_dir
|
self.coverage_dir = coverage_dir
|
||||||
|
Loading…
Reference in New Issue
Block a user