fix flaky zmq test that randomly fails on recv #34594

pull Hijanhv wants to merge 1 commits into bitcoin:master from Hijanhv:zmq-fix-clean changing 1 files +10 −1
  1. Hijanhv commented at 3:02 pm on February 15, 2026: none

    This test kept failing on me randomly turns out recv_multipart() sometimes hits a timing issue where the message isn’t ready yet and throws zmq.error.Again.

    Switched to using wait_until_helper_internal() which is what other tests do for this kind of thing. Uses DONTWAIT and retries properly instead of just hoping the message is there.

    Should stop the random CI failures.Fixes https://github.com/bitcoin/bitcoin/issues/34189

  2. test: fix intermittent failure in interface_zmq.py
    Use wait_until_helper_internal() to handle zmq.error.Again exceptions
    instead of custom retry logic, following test framework best practices.
    
    Fixes intermittent failures where ZMQ messages are not immediately
    available when recv_multipart() is called.
    fb4f3ceba2
  3. DrahtBot commented at 3:02 pm on February 15, 2026: contributor

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

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  4. fanquake commented at 11:01 am on February 16, 2026: member
    (#34508, #34574, #34557)
  5. fanquake closed this on Feb 16, 2026


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-02-17 06:13 UTC

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