test_runner: fix timeout not propagated to the child process in run#58831
Merged
nodejs-github-bot merged 2 commits intonodejs:mainfrom Jun 27, 2025
Merged
test_runner: fix timeout not propagated to the child process in run#58831nodejs-github-bot merged 2 commits intonodejs:mainfrom
nodejs-github-bot merged 2 commits intonodejs:mainfrom
Conversation
Collaborator
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #58831 +/- ##
==========================================
- Coverage 90.10% 89.99% -0.12%
==========================================
Files 640 640
Lines 188384 188369 -15
Branches 36937 36862 -75
==========================================
- Hits 169743 169522 -221
- Misses 11363 11529 +166
- Partials 7278 7318 +40
🚀 New features to boost your workflow:
|
Member
@jakecastelli yes I agree. There's a failure in the test(now two failures seem to be expected) |
Member
Author
Ah indeed - missed the other one! |
JakobJingleheimer
approved these changes
Jun 26, 2025
Collaborator
Collaborator
|
Landed in 94f7568 |
Member
|
This doesn't land cleanly on v22.x-staging so a manual backport will be necessary if this is to be released there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We do have test coverage for this case, however, the test failed due to an incorrect file path, not due to the intended
testTimeoutFailure. The key takeaway is that we should make the assertion more explicit to avoid such regression.Fixes: #58802