Changeset View
Changeset View
Standalone View
Standalone View
test/functional/dbcrash.py
Show All 39 Lines | |||||
HTTP_DISCONNECT_ERRORS = [http.client.CannotSendRequest] | HTTP_DISCONNECT_ERRORS = [http.client.CannotSendRequest] | ||||
try: | try: | ||||
HTTP_DISCONNECT_ERRORS.append(http.client.RemoteDisconnected) | HTTP_DISCONNECT_ERRORS.append(http.client.RemoteDisconnected) | ||||
except AttributeError: | except AttributeError: | ||||
pass | pass | ||||
@extended | @tags('slow') | ||||
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 | ||||
# 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 | ||||
▲ Show 20 Lines • Show All 252 Lines • Show Last 20 Lines |