-
-
Notifications
You must be signed in to change notification settings - Fork 32k
test_runner: automatically wait for subtests to finish #58800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
+56
−84
Conversation
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
This commit updates the test runner to automatically wait for subtests to finish. This makes the experience more consistent with suites and removes the need to await anything.
Review requested:
|
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #58800 +/- ##
=======================================
Coverage 90.07% 90.08%
=======================================
Files 640 640
Lines 188262 188286 +24
Branches 36912 36915 +3
=======================================
+ Hits 169580 169612 +32
+ Misses 11399 11396 -3
+ Partials 7283 7278 -5
🚀 New features to boost your workflow:
|
jasnell
approved these changes
Jun 24, 2025
pmarchini
approved these changes
Jun 24, 2025
RafaelGSS
approved these changes
Jun 24, 2025
RafaelGSS
pushed a commit
that referenced
this pull request
Jun 24, 2025
This commit updates the test runner to automatically wait for subtests to finish. This makes the experience more consistent with suites and removes the need to await anything. PR-URL: #58800 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Pietro Marchini <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
Landed in dff081e |
RafaelGSS
pushed a commit
that referenced
this pull request
Jun 24, 2025
This commit updates the test runner to automatically wait for subtests to finish. This makes the experience more consistent with suites and removes the need to await anything. PR-URL: #58800 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Pietro Marchini <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
commit-queue
Add this label to land a pull request using GitHub Actions.
dont-land-on-v20.x
PRs that should not land on the v20.x-staging branch and should not be released in v20.x.
dont-land-on-v22.x
PRs that should not land on the v22.x-staging branch and should not be released in v22.x.
needs-ci
PRs that need a full CI run.
test_runner
Issues and PRs related to the test runner subsystem.
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.
Extracted from #56664 (aa3523e) which was reverted in #58282 due to breakage caused by other parts of it.
Authorship belongs to @cjihrig.
To minimize problems in userland, it would be highly preferable to ship this in the same release as #58282 (7a0c74b in particular), since aa3523e was already shipped inPRs that contain breaking changes and should be released in the next major version.
(although IMHO this particular change is backportable)
v24.0.0
and releasing this PR would keep everything as-is for current v24.x users.This should not land on previous major release lines because #56664 was semver-major
Cherry-pick was not 100% clean, there was a trivial conflict with #56765 at the end of
lib/internal/test_runner/test.js
diff, cc @pmarchini just in case.cc @cjihrig @romainmenke @nodejs/test_runner