Skip to content

Commit 98c362a

Browse files
author
MarcoFalke
committed
Merge bitcoin/bitcoin#23782: test: include two more interruptions points
618f4d2 test: re-organized array according to order of logs and included 2 more interruption events (seaona) 71115a5 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: ACK bitcoin/bitcoin@618f4d2, pending CI jarolrod: ACK 618f4d2 Tree-SHA512: 9d709734e298e955709094bb97478ca7f18859874f1ba026f7c9014d87205aea63f6cf2093ebee600eaf82d3245adb11e77fae24a1ae48b69efefd57f3def921
2 parents fee16b1 + 618f4d2 commit 98c362a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/functional/feature_init.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,23 @@ def check_clean_start():
5757
assert_equal(200, node.getblockcount())
5858

5959
lines_to_terminate_after = [
60+
'Validating signatures for all blocks',
6061
'scheduler thread start',
62+
'Starting HTTP server',
6163
'Loading P2P addresses',
6264
'Loading banlist',
6365
'Loading block index',
6466
'Switching active chainstate',
67+
'Checking all blk files are present',
6568
'Loaded best chain:',
6669
'init message: Verifying blocks',
70+
'init message: Starting network threads',
71+
'net thread start',
72+
'addcon thread start',
6773
'loadblk thread start',
6874
# TODO: reenable - see above TODO
6975
# 'txindex thread start',
70-
'net thread start',
71-
'addcon thread start',
72-
'msghand thread start',
76+
'msghand thread start'
7377
]
7478
if self.is_wallet_compiled():
7579
lines_to_terminate_after.append('Verifying wallet')

0 commit comments

Comments
 (0)