Page MenuHomePhabricator

[avalanche] Split block_register test in two cases
ClosedPublic

Authored by Fabien on Wed, Oct 6, 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable