-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-104090: Update Resource Tracker to return exit code based on resource leaked found or not #106807
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
bityob
wants to merge
22
commits into
python:main
from
bityob:gh-104090-fix-leaked-semaphors-on-test_concurrent_futures-v2
Closed
gh-104090: Update Resource Tracker to return exit code based on resource leaked found or not #106807
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
70a35a2
Updated Resource Tracker to return exit code based on leaking found o…
bityob da7e245
Add NEWS file
bityob 1de022d
Use subTest for the parametrize the same tests with different values
bityob 48bea84
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob 31bc4af
Updated tests based on PR comments, and fix the resource_tracker code…
bityob 47551a3
Clean test
bityob a02fdbe
Added comment for test and simplified the logic
bityob 9d0369e
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob 4dbb777
Fix tests and News based on PR comments
bityob bfd1e8e
Added reseting the exit code when the process should run again
bityob 043ae90
Added more clearing queue methods beside del (closing and calling gc.…
bityob 850b5bb
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob 6e82940
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob a5cb934
Merge branch 'gh-104090-fix-leaked-semaphors-on-test_concurrent_futur…
bityob ccd736c
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob 3b21d5c
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
bityob fbd18ec
Merge main
bityob e258cb3
Moved FailingInitializerResourcesTest class from old path (Lib/test/t…
bityob 5b886bf
Merge branch 'gh-104090-fix-leaked-semaphors-on-test_concurrent_futur…
bityob 915c8a3
Added missing import
bityob cd377e6
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
pitrou 27245ec
Merge branch 'main' into gh-104090-fix-leaked-semaphors-on-test_concu…
encukou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 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 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
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Core and Builtins/2023-07-16-15-02-47.gh-issue-104090.oMjNa9.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The multiprocessing resource tracker now exits with status code 1 if a resource | ||
leak was detected. It still exits with status code 0 otherwise. |
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.
Uh oh!
There was an error while loading. Please reload this page.