HomePhabricator

test: Wait for 'cmpctblock' in p2p_compactblocks when it is expected

Description

test: Wait for 'cmpctblock' in p2p_compactblocks when it is expected

Summary:
This is a more narrowly-construed wait which eliminates the possibility of the
wait being triggered by other messages.

Co-authored-by: Billy Garrison <billygarrison.btc@gmail.com>

This is a backport of core#19631

Test Plan: test/functional/test_runner.py p2p_compa*

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Ben Woosley <ben.woosley@gmail.com>Authored on Jul 30 2020, 23:12
PiRKCommitted on Sep 7 2021, 13:54
PiRKPushed on Sep 7 2021, 13:55
Reviewer
Restricted Project
Differential Revision
D10065: test: Wait for 'cmpctblock' in p2p_compactblocks when it is expected
Parents
rABC85f7e0cf3f71: test: Wait until is_connected in add_p2p_connection
Branches
Unknown
Tags
Unknown