mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
Merge bitcoin/bitcoin#23782: test: include two more interruptions points
618f4d2890
test: re-organized array according to order of logs and included 2 more interruption events (seaona)71115a5e23
test: include two more interruptions points (seaona) Pull request description: This PR aims to introduce 2 more interruption points in the process of initialization, in order to make the` feature_init `testcase more complete. These are the following: -` Checking all blk files are present` -` init message: Starting network threads` It is a small improvement for increasing the coverage of potential interruptions, and making sure that the node can restart successfully after these interruptions. ACKs for top commit: jamesob: ACK618f4d2890
, pending CI jarolrod: ACK618f4d2890
Tree-SHA512: 9d709734e298e955709094bb97478ca7f18859874f1ba026f7c9014d87205aea63f6cf2093ebee600eaf82d3245adb11e77fae24a1ae48b69efefd57f3def921
This commit is contained in:
commit
98c362a4d3
1 changed files with 7 additions and 3 deletions
|
@ -57,19 +57,23 @@ class InitStressTest(BitcoinTestFramework):
|
|||
assert_equal(200, node.getblockcount())
|
||||
|
||||
lines_to_terminate_after = [
|
||||
'Validating signatures for all blocks',
|
||||
'scheduler thread start',
|
||||
'Starting HTTP server',
|
||||
'Loading P2P addresses',
|
||||
'Loading banlist',
|
||||
'Loading block index',
|
||||
'Switching active chainstate',
|
||||
'Checking all blk files are present',
|
||||
'Loaded best chain:',
|
||||
'init message: Verifying blocks',
|
||||
'init message: Starting network threads',
|
||||
'net thread start',
|
||||
'addcon thread start',
|
||||
'loadblk thread start',
|
||||
# TODO: reenable - see above TODO
|
||||
# 'txindex thread start',
|
||||
'net thread start',
|
||||
'addcon thread start',
|
||||
'msghand thread start',
|
||||
'msghand thread start'
|
||||
]
|
||||
if self.is_wallet_compiled():
|
||||
lines_to_terminate_after.append('Verifying wallet')
|
||||
|
|
Loading…
Reference in a new issue