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
Branch
ava-tip-extra-coverage
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22043
Build 43721: Build Diffbuild-diff · build-without-wallet · build-debug · build-clang · build-clang-tidy
Build 43720: arc lint + arc unit

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

See comment on D13149

241

Dito

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

Rebase & fixup according to feedback