test_runner: ensure proper teardown when tests run without isolation#57394
Open
pmarchini wants to merge 1 commit intonodejs:mainfrom
Open
test_runner: ensure proper teardown when tests run without isolation#57394pmarchini wants to merge 1 commit intonodejs:mainfrom
pmarchini wants to merge 1 commit 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 #57394 +/- ##
==========================================
- Coverage 90.23% 90.23% -0.01%
==========================================
Files 630 630
Lines 185200 185214 +14
Branches 36233 36243 +10
==========================================
+ Hits 167108 167120 +12
- Misses 11056 11057 +1
- Partials 7036 7037 +1
🚀 New features to boost your workflow:
|
Member
Author
|
These changes have broken the following test: node/test/parallel/test-runner-extraneous-async-activity.js Lines 52 to 68 in 96457b4 I'm taking a look! |
MoLow
approved these changes
Apr 1, 2025
Contributor
|
cc @pmarchini I opened #62056 to fix #60020, but I did not realize this PR was already addressing the same underlying problem, so I closed mine. I added a regression test in #62056 based on the cluster worker reproduction from #60020, so if it's helpful, please feel free to reuse it. |
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.
This should address #57234.
Adding the teardown in case of
isolation: noneaddresses this specific issue, and I see no potential negative effects in having it.@cjihrig, was there a reason why we avoided it in the first place?