test: Add IPC wake-up test and reuse mining context #34727

pull enirox001 wants to merge 2 commits into bitcoin:master from enirox001:03-26-ipctest-improv changing 3 files +37 −24
  1. enirox001 commented at 11:59 pm on March 3, 2026: contributor

    This is a follow-up to implement a couple of test improvements discussed in recent IPC PRs.

  2. DrahtBot added the label Tests on Mar 3, 2026
  3. DrahtBot commented at 11:59 pm on March 3, 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. DrahtBot added the label CI failed on Mar 4, 2026
  5. enirox001 marked this as a draft on Mar 4, 2026
  6. enirox001 force-pushed on Mar 4, 2026
  7. enirox001 force-pushed on Mar 4, 2026
  8. test: verify createNewBlock wakes promptly when tip advances
    This adds a complementary test to interface_ipc_mining.py to ensure
    that createNewBlock() wakes up immediately once submitblock advances
    the tip, rather than needlessly waiting for the cooldown timer to
    expire on its own.
    2ebb25b83e
  9. test: move make_mining_ctx to ipc_util.py
    The async routines in both interface_ipc.py and interface_ipc_mining.py
    contain redundant code to initialize the mining proxy object.
    
    Move the make_mining_ctx helper into test_framework/ipc_util.py and
    update both test files to use it. This removes the boilerplate and
    prevents code duplication across the IPC test suite.
    1329a7d5cc
  10. enirox001 force-pushed on Mar 4, 2026
  11. enirox001 marked this as ready for review on Mar 4, 2026
  12. DrahtBot removed the label CI failed on Mar 4, 2026
  13. sedited requested review from Sjors on Mar 8, 2026


enirox001 DrahtBot


Sjors

Labels
Tests


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

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