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

pull Empact wants to merge 1 commits into bitcoin:master from Empact:2020-07-receive_block_announcment changing 1 files +3 −6
  1. Empact commented at 11:16 PM on July 30, 2020: member

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

    Note received_block_announcement reflect three possible messages: https://github.com/bitcoin/bitcoin/blob/edec7f7c254294cd5c46ae5cf304353d458bb852/test/functional/p2p_compactblocks.py#L34-L53

    Prompted by looking into: #19449

  2. test: Wait for 'cmpctblock' in p2p_compactblocks when it is expected
    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>
    9e165d0de4
  3. fanquake added the label Tests on Jul 30, 2020
  4. DrahtBot commented at 4:00 AM on July 31, 2020: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    No conflicts as of last run.

  5. DrahtBot cross-referenced this on Jul 31, 2020 from issue test: Replace global wait_until with BitcoinTestFramework.wait_until and mininode.wait_until by dboures
  6. theStack approved
  7. theStack commented at 3:38 PM on August 6, 2020: contributor

    ACK https://github.com/bitcoin/bitcoin/pull/19631/commits/9e165d0de4c3cd168137fc85b8f31b371bd4e851 Waiting for message type x is better than waiting for message types x, y, z if only x is expected :)

  8. laanwj commented at 4:47 PM on August 9, 2020: member

    Code review ACK 9e165d0de4c3cd168137fc85b8f31b371bd4e851

  9. laanwj merged this on Aug 9, 2020
  10. laanwj closed this on Aug 9, 2020

  11. sidhujag referenced this in commit eaa8d08bf3 on Aug 9, 2020
  12. Empact deleted the branch on Aug 14, 2020
  13. adamjonas cross-referenced this on Jan 14, 2021 from issue qa: Intermittent failure in p2p_compactblocks.py by hebasto
  14. Fabcien referenced this in commit 0a4beac5f0 on Sep 7, 2021
  15. PastaPastaPasta referenced this in commit 29132a1b16 on Sep 17, 2021
  16. kwvg referenced this in commit 619b414691 on Oct 12, 2021
  17. bitcoin locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:54 UTC