aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_dbcrash.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-08-01 14:37:47 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-08-01 14:37:07 -0400
commitfa5b440971a0dfdd64c1b86748a573fcd7dc65d3 (patch)
tree293c5d69fa9d0f2fb658ddd50da6b665f0175d41 /test/functional/feature_dbcrash.py
parentc88529a178d5ca719ebab597a4c4c3437327b2f6 (diff)
downloadbitcoin-fa5b440971a0dfdd64c1b86748a573fcd7dc65d3.tar.xz
qa: Extract rpc_timewait as test param
Also increase it for wallet_dump and wallet_groups
Diffstat (limited to 'test/functional/feature_dbcrash.py')
-rwxr-xr-xtest/functional/feature_dbcrash.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/feature_dbcrash.py b/test/functional/feature_dbcrash.py
index cef257cf9b..a771118fd1 100755
--- a/test/functional/feature_dbcrash.py
+++ b/test/functional/feature_dbcrash.py
@@ -46,6 +46,8 @@ class ChainstateWriteCrashTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 4
self.setup_clean_chain = False
+ # Need a bit of extra time for the nodes to start up for this test
+ self.rpc_timewait = 90
# Set -maxmempool=0 to turn off mempool memory sharing with dbcache
# Set -rpcservertimeout=900 to reduce socket disconnects in this
@@ -63,8 +65,7 @@ class ChainstateWriteCrashTest(BitcoinTestFramework):
self.extra_args = [self.node0_args, self.node1_args, self.node2_args, self.node3_args]
def setup_network(self):
- # Need a bit of extra time for the nodes to start up for this test
- self.add_nodes(self.num_nodes, extra_args=self.extra_args, timewait=90)
+ self.add_nodes(self.num_nodes, extra_args=self.extra_args)
self.start_nodes()
# Leave them unconnected, we'll use submitblock directly in this test