Skip to content
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

Extract RyukResourceReaper #4959

Merged
merged 3 commits into from Feb 1, 2022
Merged

Extract RyukResourceReaper #4959

merged 3 commits into from Feb 1, 2022

Conversation

bsideup
Copy link
Member

@bsideup bsideup commented Jan 28, 2022

This change extracts Ryuk-related code as is to a separate class from ResourceReaper to help making future refactorings (eg lazy Ryuk)

Copy link
Member

@kiview kiview left a comment

Choose a reason for hiding this comment

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

I like this change a lot because I was always slightly confused, that ResourceReaper did the legacy shutdown hook clean up, while also representing Ryuk.

# Conflicts:
#	core/src/main/java/org/testcontainers/utility/ResourceReaper.java
@kiview kiview added this to the next milestone Feb 1, 2022
@kiview kiview merged commit 0b12ed2 into master Feb 1, 2022
@delete-merged-branch delete-merged-branch bot deleted the extract_RyukResourceReaper branch February 1, 2022 10:38
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.

None yet

3 participants