Page MenuHomePhabricator

[avalanche] Fix flakiness where finalization of the newly mature proof was not checked along with the other finalized proofs
ClosedPublic

Authored by sdulfari on Aug 17 2022, 19:01.

Details

Summary

The immature proof is not accounted for in the finalization checks at the end of the test. This makes the finalized_proof_count flaky since all proofs are being voted for.

This patch ensures the immature proof is also finalized.

Test Plan
ninja
./test/functional/test_runner.py abc_rpc_getavalancheinfo

Diff Detail

Repository
rABC Bitcoin ABC
Branch
check-newly-mature-proof-finalization
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19844
Build 39402: Build Diffbuild-without-wallet · build-diff · build-clang-tidy · build-clang · build-debug
Build 39401: arc lint + arc unit