add --http-timeout long option

This commit is contained in:
The MMGen Project 2021-08-01 20:54:51 +00:00
commit 7eacab5622
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 3 additions and 2 deletions

View file

@ -167,7 +167,7 @@ class GlobalContext(Lockable):
'rpc_host','rpc_port','rpc_user','rpc_password','rpc_backend','aiohttp_rpc_queue_len',
'monero_wallet_rpc_host','monero_wallet_rpc_user','monero_wallet_rpc_password',
'daemon_data_dir','force_256_color','regtest','coin','bob','alice',
'accept_defaults','token','ignore_daemon_version','daemon_id'
'accept_defaults','token','ignore_daemon_version','daemon_id','http_timeout',
)
# opts initialized to None by opts.init() if not set by user
required_opts = (

View file

@ -190,6 +190,7 @@ common_opts_data = {
--, --daemon-data-dir=path Specify {dn} data directory location
--, --daemon-id=ID Specify the coin daemon ID
--, --ignore-daemon-version Ignore {dn} version check
--, --http-timeout=t Set HTTP timeout in seconds for JSON-RPC connections
--, --no-license Suppress the GPL license prompt
--, --rpc-host=host Communicate with {dn} running on host 'host'
--, --rpc-port=port Communicate with {dn} listening on port 'port'

View file

@ -139,7 +139,7 @@ coin = g.coin
class TestSuiteEthdev(TestSuiteBase,TestSuiteShared):
'Ethereum transacting, token deployment and tracking wallet operations'
networks = ('eth','etc')
passthru_opts = ('coin',)
passthru_opts = ('coin','daemon_id','http_timeout')
extra_spawn_args = ['--regtest=1']
tmpdir_nums = [22]
solc_vers = ('0.5.1','0.5.3') # 0.5.1: Raspbian Stretch, 0.5.3: Ubuntu Bionic