HomePhabricator

[avalanche] Fix abc_p2p_avalanche_transaction_voting flakiness

Description

[avalanche] Fix abc_p2p_avalanche_transaction_voting flakiness

Summary:
There is a couple issues in this test:

  • The initial poll_node is not disconnected and not part of the quorum, which means this is an avalanche peer that will never respond to polls. This does not cause any failure but slows the test a bit and create false positive errors in the log.
  • The stalling vote does not consume all the polls, and there can be a lot of them because stalling requires a lot of voting rounds. This can eventually cause the node to stop polling because too many polls are already in flight.

Test Plan:

./test/functional/test_runner.py abc_p2p_avalanche_transaction_voting --repeat 100

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Aug 26 2025, 13:36
FabienPushed on Aug 26 2025, 17:44
Reviewer
Restricted Project
Differential Revision
D18526: [avalanche] Fix abc_p2p_avalanche_transaction_voting flakiness
Parents
rABC984041e645b4: [e.cash] Fix X overflow scroll on homepage mobile
Branches
Unknown
Tags
Unknown