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 22045
Build 43725: Build Diffbuild-without-wallet · build-clang-tidy · build-diff · build-debug · build-clang
Build 43724: 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 ↗(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