Closed TheBlueMatt closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.23%. Comparing base (
05ed0db
) to head (e34519b
). Report is 15 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Squash-pushed with only the spelling change.
This test was added some time ago in 0c034e9a82e4339fb32af9da63832ac2a64abb0b, but never made any sense.
PeerManager::process_events
will go around its loop as many times is required to ensure we've always processed all events which were pending prior to aprocess_events
call, so having a test that checks that we never go around more than twice is obviously broken.And, indeed, in CI this tests fails with some regularity.
Instead, the test here is changed to ensure that we detectably go around the loop again at least once.
Fixes #2385