[Tests] Eliminate intermittent failures in sendheaders.py #7308

pull sdaftuar wants to merge 2 commits into bitcoin:master from sdaftuar:fix-sendheaders changing 2 files +24 −9
  1. sdaftuar commented at 2:33 PM on January 7, 2016: member

    Fixes #7246

    First commit adds a helper I found useful to conclusively debugging this particular issue, but I can drop the commit if we don't want this for some reason.

    The second commit addresses the race condition in sendheaders.py.

  2. Add race-condition debugging tool to mininode 82a0ce09b4
  3. Eliminate race condition in sendheaders.py test
    Clear the last block announcement before mining new blocks.
    168915e6de
  4. jgarzik commented at 2:35 PM on January 7, 2016: contributor

    ut ACK

  5. jonasschnelli added the label Tests on Jan 8, 2016
  6. laanwj commented at 3:29 PM on January 9, 2016: member

    utACK, thanks!

  7. laanwj merged this on Jan 9, 2016
  8. laanwj closed this on Jan 9, 2016

  9. laanwj referenced this in commit 93ca5a35b0 on Jan 9, 2016
  10. laanwj referenced this in commit d513405cb7 on Jan 9, 2016
  11. DrahtBot locked this on Sep 8, 2021

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-13 18:15 UTC

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