mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
test: activate all index types in feature_init.py
This commit is contained in:
parent
0243907fae
commit
bfcd60f5d5
1 changed files with 4 additions and 2 deletions
|
@ -64,6 +64,8 @@ class InitStressTest(BitcoinTestFramework):
|
|||
'addcon thread start',
|
||||
'loadblk thread start',
|
||||
'txindex thread start',
|
||||
'block filter index thread start',
|
||||
'coinstatsindex thread start',
|
||||
'msghand thread start',
|
||||
'net thread start',
|
||||
'addcon thread start',
|
||||
|
@ -74,7 +76,7 @@ class InitStressTest(BitcoinTestFramework):
|
|||
for terminate_line in lines_to_terminate_after:
|
||||
self.log.info(f"Starting node and will exit after line '{terminate_line}'")
|
||||
with node.wait_for_debug_log([terminate_line], ignore_case=True):
|
||||
node.start(extra_args=['-txindex=1'])
|
||||
node.start(extra_args=['-txindex=1', '-blockfilterindex=1', '-coinstatsindex=1'])
|
||||
self.log.debug("Terminating node after terminate line was found")
|
||||
sigterm_node()
|
||||
|
||||
|
@ -109,7 +111,7 @@ class InitStressTest(BitcoinTestFramework):
|
|||
# investigate doing this later.
|
||||
|
||||
node.assert_start_raises_init_error(
|
||||
extra_args=['-txindex=1'],
|
||||
extra_args=['-txindex=1', '-blockfilterindex=1', '-coinstatsindex=1'],
|
||||
expected_msg=err_fragment,
|
||||
match=ErrorMatch.PARTIAL_REGEX,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue