diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-01 14:37:47 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-01 14:37:07 -0400 |
commit | fa5b440971a0dfdd64c1b86748a573fcd7dc65d3 (patch) | |
tree | 293c5d69fa9d0f2fb658ddd50da6b665f0175d41 /test/functional/wallet_dump.py | |
parent | c88529a178d5ca719ebab597a4c4c3437327b2f6 (diff) |
qa: Extract rpc_timewait as test param
Also increase it for wallet_dump and wallet_groups
Diffstat (limited to 'test/functional/wallet_dump.py')
-rwxr-xr-x | test/functional/wallet_dump.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/functional/wallet_dump.py b/test/functional/wallet_dump.py index ba420ab2a6..cc0aca0df8 100755 --- a/test/functional/wallet_dump.py +++ b/test/functional/wallet_dump.py @@ -81,16 +81,13 @@ class WalletDumpTest(BitcoinTestFramework): def set_test_params(self): self.num_nodes = 1 self.extra_args = [["-keypool=90", "-addresstype=legacy", "-deprecatedrpc=addwitnessaddress"]] + self.rpc_timeout = 120 def setup_network(self, split=False): - # 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.add_nodes(self.num_nodes, extra_args=self.extra_args, timewait=60) + self.add_nodes(self.num_nodes, extra_args=self.extra_args) self.start_nodes() - def run_test (self): + def run_test(self): wallet_unenc_dump = os.path.join(self.nodes[0].datadir, "wallet.unencrypted.dump") wallet_enc_dump = os.path.join(self.nodes[0].datadir, "wallet.encrypted.dump") |