mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-07-05 19:50:40 +02:00
test: raise reindex mining RPC timeout
`feature_reindex.py` mines a long chain before restarting during reindex. Bump its local RPC timeout to avoid client timeouts in parallel debug-mode runs.
This commit is contained in:
@@ -20,6 +20,7 @@ from test_framework.util import (
|
||||
|
||||
class ReindexTest(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.rpc_timeout *= 2 # To avoid timeout when generating the reindex chain
|
||||
self.setup_clean_chain = True
|
||||
self.num_nodes = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user