HomePhabricator

[test] Call out missing messages when asserting the debug log

Description

[test] Call out missing messages when asserting the debug log

Summary:
When there are more than a couple expected messages, it quickly becomes unclear how many are missing from the log. Calling them out helps reduce debugging time.

Depends on D18008

Test Plan: Tweak expected messages in assert_debug_log and wait_for_debug_log calls in any test by adding some new message strings (especially abc_p2p_avalanche_contender_voting). Run the test and observe the call out for missing messages.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: PiRK, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18009

Details

Provenance
roqqitAuthored on Mon, Apr 28, 18:05
roqqitPushed on Tue, Apr 29, 16:46
Reviewer
Restricted Project
Differential Revision
D18009: [test] Call out missing messages when asserting the debug log
Parents
rABC5d39d807f0a9: [avalanche] Also log when contenders are not promoted
Branches
Unknown
Tags
Unknown