HomePhabricator

[avalanche] Split block_register test in two cases

Description

[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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1854

Differential Revision: https://reviews.bitcoinabc.org/D10260

Details

Provenance
FabienAuthored on Oct 6 2021, 09:08
FabienPushed on Oct 7 2021, 07:55
Reviewer
Restricted Project
Differential Revision
D10260: [avalanche] Split block_register test in two cases
Parents
rABC407828747f4d: Remove the automatic creation and loading of the default wallet
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task