Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 17, 2019

libregrtest runtest() now checks if the test leaks direct child
process running in the background.

https://bugs.python.org/issue38546

libregrtest runtest() now checks if the test leaks direct child
process running in the background.
Copy link
Contributor

@ncoghlan ncoghlan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! One key point is that it fails gracefully on systems without /proc

@vstinner
Copy link
Member Author

I failed to prove that this PR helps to detect leaked processes. I prefer to not merge it until I managed to prove that it's useful. In the meanwhile, there are already existing checks which should detect some cases.

See https://pythondev.readthedocs.io/unstable_tests.html for my notes on unstable tests.

@vstinner vstinner closed this Mar 10, 2020
@vstinner vstinner deleted the get_child_processes branch March 10, 2020 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants