Page MenuHomePhabricator

[avalanche] Add regression testing for flip flopping votes on blocks
ClosedPublic

Authored by sdulfari on Feb 21 2023, 20:14.

Details

Summary

As we introduce new behavior (block policies) that could impact block parking
we need to ensure that flip flopping avalanche votes behave as expected and do
not regress.

Depends on D13149

I also took this opportunity to make the log checking more consistent for the
first acceptance.

Test Plan
./test/functional/test_runner.py abc_p2p_avalanche_voting

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien added a subscriber: Fabien.

This change is OK but please fix the dependency and rebase to remove the super confusing wait_until calls

test/functional/abc_p2p_avalanche_voting.py
237 ↗(On Diff #37969)

See comment on D13149

241 ↗(On Diff #37969)

Dito

This revision is now accepted and ready to land.Feb 21 2023, 21:16

Rebase & fixup according to feedback