Changeset View
Changeset View
Standalone View
Standalone View
test/functional/feature_dbcrash.py
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | from test_framework.util import ( | ||||
hex_str_to_bytes, | hex_str_to_bytes, | ||||
) | ) | ||||
class ChainstateWriteCrashTest(BitcoinTestFramework): | class ChainstateWriteCrashTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 4 | self.num_nodes = 4 | ||||
self.setup_clean_chain = False | self.setup_clean_chain = False | ||||
# Need a bit of extra time for the nodes to start up for this test | self.rpc_timeout = 480 | ||||
self.rpc_timeout = 180 | |||||
# Set -maxmempool=0 to turn off mempool memory sharing with dbcache | # Set -maxmempool=0 to turn off mempool memory sharing with dbcache | ||||
# Set -rpcservertimeout=900 to reduce socket disconnects in this | # Set -rpcservertimeout=900 to reduce socket disconnects in this | ||||
# long-running test | # long-running test | ||||
self.base_args = ["-limitdescendantsize=0", "-maxmempool=0", | self.base_args = ["-limitdescendantsize=0", "-maxmempool=0", | ||||
"-rpcservertimeout=900", "-dbbatchsize=200000", | "-rpcservertimeout=900", "-dbbatchsize=200000", | ||||
"-noparkdeepreorg"] | "-noparkdeepreorg"] | ||||
▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines |