This is a test for #34224.
Also, includes a small test cleanup/refactor.
This refactor can be reviewed with:
--color-moved=dimmed-zebra --color-moved-ws=ignore-all-space
This split makes the code easier to read, modify, and understand.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34241.
See the guideline for information on the review process. A summary of reviews will appear here.
https://github.com/bitcoin/bitcoin/actions/runs/20858499232/job/59931634182?pr=34241#step:8:4476:
0 test 2026-01-09T17:12:46.225024Z TestFramework (ERROR): Unexpected exception
1 Traceback (most recent call last):
2 File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 142, in main
3 self.run_test()
4 File "/home/runner/work/bitcoin/bitcoin/ci_build/test/functional/feature_init.py", line 300, in run_test
5 self.init_stress_test_interrupt()
6 File "/home/runner/work/bitcoin/bitcoin/ci_build/test/functional/feature_init.py", line 93, in init_stress_test_interrupt
7 sigterm_node()
8 File "/home/runner/work/bitcoin/bitcoin/ci_build/test/functional/feature_init.py", line 56, in sigterm_node
9 assert_equal(0, node.process.wait())
10 File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/util.py", line 80, in assert_equal
11 raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
12 AssertionError: not(0 == 1)
13 test 2026-01-09T17:12:46.226511Z TestFramework (DEBUG): Closing down network thread
Nice. Everything works as expected:
I’ll rebase once the fix is merged.