test: fix intermittent failure in rpc_getblockfrompeer.py #26404

pull mzumsande wants to merge 1 commits into bitcoin:master from mzumsande:202210_testfix_blockfrompeer changing 1 files +1 −1
  1. mzumsande commented at 10:08 PM on October 27, 2022: contributor

    Fixes an intermittent failure in rpc_getblockfrompeer.py observed in https://cirrus-ci.com/task/6610115527704576 by adding a sync to make sure the node has processed the header we sent it before we query it for the corresponding block.

    Fixes #26412

  2. DrahtBot added the label Tests on Oct 27, 2022
  3. maflcko approved
  4. maflcko commented at 8:28 AM on October 28, 2022: member

    Could use send_and_ping?

  5. fanquake requested review from Sjors on Oct 28, 2022
  6. test: fix intermittent failure in rpc_getblockfrompeer.py
    by adding a sync to make sure the node has received the
    header before we query it for the block
    8a9f1e4d18
  7. mzumsande force-pushed on Oct 28, 2022
  8. mzumsande commented at 2:20 PM on October 28, 2022: contributor

    Could use send_and_ping?

    Yes, that saves a line, done.

  9. jonatack commented at 6:01 PM on October 28, 2022: contributor

    ACK 8a9f1e4d18e2b94509548af2aa3ad14185793f73

  10. maflcko merged this on Oct 29, 2022
  11. maflcko closed this on Oct 29, 2022

  12. sidhujag referenced this in commit f3a45432ee on Oct 30, 2022
  13. mzumsande deleted the branch on Nov 3, 2022
  14. bitcoin locked this on Nov 3, 2023

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-04-17 03:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me