diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-12-16 07:47:37 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-12-16 07:47:40 +0100 |
commit | 98c362a4d3d865b5e5ffe6649ffc33203abf8ac0 (patch) | |
tree | df485a09d9643d2b472753a399b591e12b61e07f /test | |
parent | fee16b15fa3425871670239c25d4e61ae961e0c5 (diff) | |
parent | 618f4d289053ad7b8802c709f1d55e516b465573 (diff) |
Merge bitcoin/bitcoin#23782: test: include two more interruptions points
618f4d289053ad7b8802c709f1d55e516b465573 test: re-organized array according to order of logs and included 2 more interruption events (seaona)
71115a5e23be63ec18729eaaba09316c3b2cbfb9 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 https://github.com/bitcoin/bitcoin/pull/23782/commits/618f4d289053ad7b8802c709f1d55e516b465573, pending CI
jarolrod:
ACK 618f4d289053ad7b8802c709f1d55e516b465573
Tree-SHA512: 9d709734e298e955709094bb97478ca7f18859874f1ba026f7c9014d87205aea63f6cf2093ebee600eaf82d3245adb11e77fae24a1ae48b69efefd57f3def921
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/feature_init.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/functional/feature_init.py b/test/functional/feature_init.py index cffbd40271..40468c66e2 100755 --- a/test/functional/feature_init.py +++ b/test/functional/feature_init.py @@ -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') |