mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Merge #9077: [qa] Increase wallet-dump RPC timeout
e89614b
[qa] Add more helpful RPC timeout message (Russell Yanofsky)8463aaa
[qa] Increase wallet-dump RPC timeout (Russell Yanofsky)
This commit is contained in:
parent
8d90f295e8
commit
9bb9e9ea72
@ -61,7 +61,11 @@ class WalletDumpTest(BitcoinTestFramework):
|
||||
self.extra_args = [["-keypool=90"]]
|
||||
|
||||
def setup_network(self, split=False):
|
||||
self.nodes = start_nodes(self.num_nodes, self.options.tmpdir, self.extra_args)
|
||||
# Use 1 minute timeout because the initial getnewaddress RPC can take
|
||||
# longer than the default 30 seconds due to an expensive
|
||||
# CWallet::TopUpKeyPool call, and the encryptwallet RPC made later in
|
||||
# the test often takes even longer.
|
||||
self.nodes = start_nodes(self.num_nodes, self.options.tmpdir, self.extra_args, timewait=60)
|
||||
|
||||
def run_test (self):
|
||||
tmpdir = self.options.tmpdir
|
||||
|
Loading…
Reference in New Issue
Block a user