Page MenuHomePhabricator

test: Fix intermittent p2p_fingerprint issue
ClosedPublic

Authored by PiRK on Jan 25 2022, 16:06.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC1178b124ac10: test: Fix intermittent p2p_fingerprint issue
Summary

A single sync_with_ping can't be used to drop a block announcement, as the block might be sent after the ping has been responded to.

Fix that by waiting for the block.

Note: The useless [0] after generatetoaddress was a leftover that should have been removed in D10804.

This is a backport of core#20466

Test Plan

ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable