Skip to content

Extract RyukResourceReaper - #4959

Merged
kiview merged 3 commits into
masterfrom
extract_RyukResourceReaper
Feb 1, 2022
Merged

kiview merged 3 commits into
masterfrom
extract_RyukResourceReaper

Conversation

@bsideup

@bsideup bsideup commented Jan 28, 2022

Copy link
Copy Markdown
Member

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

@bsideup
bsideup requested review from kiview and rnorth as code owners January 28, 2022 19:55

@kiview kiview left a comment

Copy link
Copy Markdown
Member

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.

3 participants