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. mzumsande cross-referenced this on Oct 27, 2022 from issue p2p: Make stalling timeout adaptive during IBD by mzumsande
  3. DrahtBot added the label Tests on Oct 27, 2022
  4. maflcko approved
  5. maflcko commented at 8:28 AM on October 28, 2022: member

    Could use send_and_ping?

  6. fanquake requested review from Sjors on Oct 28, 2022
  7. 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
  8. mzumsande force-pushed on Oct 28, 2022
  9. mzumsande commented at 2:20 PM on October 28, 2022: contributor

    Could use send_and_ping?

    Yes, that saves a line, done.

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

    ACK 8a9f1e4d18e2b94509548af2aa3ad14185793f73

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

  13. sidhujag referenced this in commit f3a45432ee on Oct 30, 2022
  14. mzumsande deleted the branch on Nov 3, 2022
  15. 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-05-19 06:53 UTC