Skip to content

with test: a test binary is stopped by a thirty-minute hang guard, not a 120 s speed budget, and the stop is named (#2362) - #2653

Merged
ehartford merged 1 commit into
fix-2386from
fix-2362
Oct 25, 2026
Merged

ehartford merged 1 commit into
fix-2386from
fix-2362

Conversation

@ehartford

@ehartford ehartford commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Root cause: run_test_process (src/main.w) captured every test binary with
a fixed 120000 ms limit and reported the capture's 124 as the test's exit
code. A passing 160 s simulation on a slower host failed as "exit code 124".

TEST_HANG_GUARD_MS (src/BuildGraphSupport.w) is thirty minutes, a build
target's own ceiling; a stopped binary's stderr says "the test was still
running after 30 minutes, so the hang guard stopped it".

Test: test/internals/test_hang_guard_test.w (the guard is at least thirty
minutes).

Closes #2362

…t a 120 s speed budget, and the stop is named (#2362)

Root cause: run_test_process (src/main.w) captured every test binary with
a fixed 120000 ms limit and reported the capture's 124 as the test's exit
code. A passing 160 s simulation on a slower host failed as "exit code 124".

TEST_HANG_GUARD_MS (src/BuildGraphSupport.w) is thirty minutes, a build
target's own ceiling; a stopped binary's stderr says "the test was still
running after 30 minutes, so the hang guard stopped it".

Test: test/internals/test_hang_guard_test.w (the guard is at least thirty
minutes).
@ehartford
ehartford added this pull request to stack #2658 October 25, 2026 21:47
@ehartford ehartford changed the title fix 2362 with test: a test binary is stopped by a thirty-minute hang guard, not a 120 s speed budget, and the stop is named (#2362) Oct 25, 2026
@ehartford
ehartford marked this pull request as ready for review October 25, 2026 21:59
@ehartford
ehartford merged commit e1d40b3 into main Oct 25, 2026
@ehartford
ehartford deleted the fix-2362 branch October 25, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

with test: a fixed 120 s per-file limit fails a passing test on a slower host (exit 124 reported as a run failure)

1 participant