@@ -49,33 +49,33 @@ def check_clean_start():
49
49
assert_equal (200 , node .getblockcount ())
50
50
51
51
lines_to_terminate_after = [
52
- 'Validating signatures for all blocks' ,
53
- 'scheduler thread start' ,
54
- 'Starting HTTP server' ,
55
- 'Loading P2P addresses' ,
56
- 'Loading banlist' ,
57
- 'Loading block index' ,
58
- 'Switching active chainstate' ,
59
- 'Checking all blk files are present' ,
60
- 'Loaded best chain:' ,
61
- 'init message: Verifying blocks' ,
62
- 'init message: Starting network threads' ,
63
- 'net thread start' ,
64
- 'addcon thread start' ,
65
- 'loadblk thread start' ,
66
- 'txindex thread start' ,
67
- 'block filter index thread start' ,
68
- 'coinstatsindex thread start' ,
69
- 'msghand thread start' ,
70
- 'net thread start' ,
71
- 'addcon thread start' ,
52
+ b 'Validating signatures for all blocks' ,
53
+ b 'scheduler thread start' ,
54
+ b 'Starting HTTP server' ,
55
+ b 'Loading P2P addresses' ,
56
+ b 'Loading banlist' ,
57
+ b 'Loading block index' ,
58
+ b 'Switching active chainstate' ,
59
+ b 'Checking all blk files are present' ,
60
+ b 'Loaded best chain:' ,
61
+ b 'init message: Verifying blocks' ,
62
+ b 'init message: Starting network threads' ,
63
+ b 'net thread start' ,
64
+ b 'addcon thread start' ,
65
+ b 'loadblk thread start' ,
66
+ b 'txindex thread start' ,
67
+ b 'block filter index thread start' ,
68
+ b 'coinstatsindex thread start' ,
69
+ b 'msghand thread start' ,
70
+ b 'net thread start' ,
71
+ b 'addcon thread start' ,
72
72
]
73
73
if self .is_wallet_compiled ():
74
- lines_to_terminate_after .append ('Verifying wallet' )
74
+ lines_to_terminate_after .append (b 'Verifying wallet' )
75
75
76
76
for terminate_line in lines_to_terminate_after :
77
- self .log .info (f"Starting node and will exit after line ' { terminate_line } ' " )
78
- with node .wait_for_debug_log ([terminate_line ], ignore_case = True ):
77
+ self .log .info (f"Starting node and will exit after line { terminate_line } " )
78
+ with node .wait_for_debug_log ([terminate_line ]):
79
79
node .start (extra_args = ['-txindex=1' , '-blockfilterindex=1' , '-coinstatsindex=1' ])
80
80
self .log .debug ("Terminating node after terminate line was found" )
81
81
sigterm_node ()
0 commit comments