Page MenuHomePhabricator

[avalanche] Split block_register test in two cases
ClosedPublic

Authored by Fabien on Oct 6 2021, 09:09.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC3e92d9bf3473: [avalanche] Split block_register test in two cases
Summary

The test is about the registering a vote on a block, but at the end it also checks that it's not possible to add a block for polling twice, which is a different feature. This diff extracts the last part to its own test case. This is a minor refactor that will make it easier to review the following test changes.

Ref T1854.

Test Plan
ninja check-avalanche-processor_tests

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_processor_test_split_reconcile_twice
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16896
Build 33630: Build Diffbuild-without-wallet · build-debug · build-diff · build-clang-tidy · lint-circular-dependencies · build-clang
Build 33629: arc lint + arc unit