test: Add missing timeouts for HTTPConnection #36504

pull maflcko wants to merge 2 commits into bitcoin:master from maflcko:2610-test-timeout-rest changing 5 files +7 −7
  1. maflcko commented at 7:36 AM on October 12, 2026: member

    Without a timeout, the test can hang forever on broken systems. This is fine, but it would be nice if the test instead failed with a nicer error message, indicating the timeout.

  2. DrahtBot added the label Tests on Oct 12, 2026
  3. DrahtBot commented at 7:36 AM on October 12, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    ACK mercie-ux, hebasto, pinheadmz

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. test: Add missing timeouts for HTTPConnection fad441867c
  5. maflcko renamed this:
    test: Add missing timeout in interface_rest.py
    test: Add missing timeouts for HTTPConnection
    on Oct 12, 2026
  6. DrahtBot renamed this:
    test: Add missing timeouts for HTTPConnection
    test: Add missing timeouts for HTTPConnection
    on Oct 12, 2026
  7. maflcko force-pushed on Oct 12, 2026
  8. DrahtBot added the label CI failed on Oct 12, 2026
  9. DrahtBot removed the label CI failed on Oct 12, 2026
  10. hebasto commented at 12:17 PM on October 12, 2026: member

    Concept ACK.

  11. test: make wait_until timing arguments keyword-only fa4308dfbf
  12. maflcko commented at 3:11 PM on October 12, 2026: member

    Pushed a mostly unrelated small test refactor commit

  13. fanquake requested review from pinheadmz on Oct 13, 2026
  14. mercie-ux commented at 8:20 AM on October 13, 2026: contributor

    tACK fa4308dfbf

    all tests pass

  15. DrahtBot requested review from hebasto on Oct 13, 2026
  16. pinheadmz commented at 12:49 AM on October 14, 2026: member
  17. hebasto approved
  18. hebasto commented at 12:53 AM on October 14, 2026: member

    ACK fa4308dfbf3a59f95deac382fa955570f814e8ca, I have reviewed the code and it looks OK.

  19. pinheadmz approved
  20. pinheadmz commented at 1:45 AM on October 14, 2026: member

    ACK fa4308dfbf3a59f95deac382fa955570f814e8ca

    Reviewed and tested on macos/arm64. Used dnctl/pfctl to intentionally slow loopback traffic and timeout-factor=0.1 to ensure the new timeouts triggered.

    <details><summary>Show Signature</summary>

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256
    
    ACK fa4308dfbf3a59f95deac382fa955570f814e8ca
    -----BEGIN PGP SIGNATURE-----
    
    iQJPBAEBCAA5FiEE5hdzzW4BBA4vG9eM5+KYS2KJyToFAmrO3jIbFIAAAAAABAAO
    bWFudTIsMi41KzEuMTIsMCwzAAoJEOfimEtiick66L8P/342bJxmbhxR9Z4CszrV
    K1kfQ6nVqa44Zl/QjFLzPuFS3EQ8rScjOn8mANALNkNGu0sAhs+FabEL8npyJNgg
    cWEYJQfwjuCZQFB/UFZJFJsZmfGCGzJdBlxrj2+OjVv7A+IVXs1UP6G21Gux4EQg
    7KiX3xZep0Rc2hOorjyI73GP/I0GgzJzZBzxVwEhSHKLOhbp0HJu7mdCcYSQMyhc
    wPUK16SckS1rna3rVoCmOb9FhnWVkyglypcBy4Kyd9CTsrJGGqTXVJdkQVWmYiXb
    6YQtqLX5gRo21FFd4RkO5ddDA3J257cKAxEjDsXJpuQ9PenpVEFTwtyrpYtIelpa
    5hlArfRgM6QkVPJ6WdKRYqy3d2pYIjEZ4kAhnIc8YNXtw46hQUSJliS5ZhNV8JMr
    GopyqOQLSYiuFGVT2inqC6/ohYDXt3rzKzmYZk9P2Kv5LR60qVo3cMAHAOkq4DSu
    drAb7dWblxg2JgHuRhVQfKzJxb85j9BSWoTCTwX1JaeekZOHDoA/Qj6eHESLa4It
    oEnSQkvlcyowcM5PUnwuCNjNdTR3xotyEAafUakHw7GS+r3TVher7KDydEhwYBOv
    3ywx0KfYyb8K6EXf5o0ZarExRoykO5kmW40VpK3TxqDWu5Vx8UX9YmUTPP2tl1WL
    dx4/3hXjv6Be1lC5H78u/OCN
    =kEoD
    -----END PGP SIGNATURE-----
    

    pinheadmz's public key is on openpgp.org

    </details>

  21. fanquake merged this on Oct 14, 2026
  22. fanquake closed this on Oct 14, 2026

  23. maflcko deleted the branch on Oct 14, 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-10-21 18:51 UTC

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