mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
test: Bump rpc_timeout in feature_dbcrash
This commit is contained in:
parent
74ea1f3b0f
commit
fa8a823169
1 changed files with 14 additions and 4 deletions
|
@ -30,17 +30,27 @@ import http.client
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from test_framework.messages import COIN, COutPoint, CTransaction, CTxIn, CTxOut, ToHex
|
from test_framework.messages import (
|
||||||
|
COIN,
|
||||||
|
COutPoint,
|
||||||
|
CTransaction,
|
||||||
|
CTxIn,
|
||||||
|
CTxOut,
|
||||||
|
ToHex,
|
||||||
|
)
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
from test_framework.util import assert_equal, create_confirmed_utxos, hex_str_to_bytes
|
from test_framework.util import (
|
||||||
|
assert_equal,
|
||||||
|
create_confirmed_utxos,
|
||||||
|
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 = 180
|
||||||
self.rpc_timeout = 90
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue