-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Use GenericContainer
in RyukResourceReaper
#5358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice change. Did you feel something is missing, or why is this in draft?
For reference, this is the failing HiveMq test, the container did not come up, seems flaky:
https://ge.testcontainers.org/s/5tslzttauuiwa/tests/:hivemq:test/org.testcontainers.hivemq.ContainerWithExtensionFromDirectoryIT/test_wrongDirectoryName()?top-execution=1
@kiview I wanted to fix Ryuk self terminating itself 😅 Since we migrated to |
@bsideup Do you think we could add a ~smoke test for this issue with reasonable effort? Like triggering a test run that will result in a couple of different Docker resources being created, sending SIGKILL to the Java process, and checking if the resources were correctly cleaned up using Docker CLI? It doesn't need to be part of this PR of course, just wanted to discuss the possibility. |
@kiview good idea - I will create a |
@kiview added a test and manually verified that it fails without the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's a really cool test 🙂
GenericContainer
in RyukResourceReaper
GenericContainer
in RyukResourceReaper
No description provided.