mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-09 01:40:27 +02:00
qa: Extract rpc_timewait as test param
Also increase it for wallet_dump and wallet_groups
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user