test: re-organized array according to order of logs and included 2 more interruption events

This commit is contained in:
seaona
2021-12-15 16:17:54 +01:00
parent 71115a5e23
commit 618f4d2890

View File

@@ -57,21 +57,23 @@ class InitStressTest(BitcoinTestFramework):
assert_equal(200, node.getblockcount()) assert_equal(200, node.getblockcount())
lines_to_terminate_after = [ lines_to_terminate_after = [
'Validating signatures for all blocks',
'scheduler thread start', 'scheduler thread start',
'Starting HTTP server',
'Loading P2P addresses', 'Loading P2P addresses',
'Loading banlist', 'Loading banlist',
'Loading block index', 'Loading block index',
'Switching active chainstate', 'Switching active chainstate',
'Checking all blk files are present',
'Loaded best chain:', 'Loaded best chain:',
'init message: Verifying blocks', 'init message: Verifying blocks',
'init message: Starting network threads',
'net thread start',
'addcon thread start',
'loadblk thread start', 'loadblk thread start',
# TODO: reenable - see above TODO # TODO: reenable - see above TODO
# 'txindex thread start', # 'txindex thread start',
'net thread start', 'msghand thread start'
'addcon thread start',
'msghand thread start',
'Checking all blk files are present',
'init message: Starting network threads'
] ]
if self.is_wallet_compiled(): if self.is_wallet_compiled():
lines_to_terminate_after.append('Verifying wallet') lines_to_terminate_after.append('Verifying wallet')