Replies: 4 comments 4 replies
-
@akefirad Can you share your setup for both containers, please? |
Beta Was this translation helpful? Give feedback.
-
I have to clean up the project. Will do that tomorrow first thing. |
Beta Was this translation helpful? Give feedback.
-
OK, while cleaning up the project, I found the root cause. It's a spring boot application, and as soon as I add a |
Beta Was this translation helpful? Give feedback.
-
There you go mock-server-demo.zip. |
Beta Was this translation helpful? Give feedback.
-
Module
MockServer
Testcontainers version
1.17.5
Using the latest Testcontainers version?
Yes
Host OS
macOS
Host Arch
x86
Docker version
What happened?
I've got two test-containers set up in my tests, LocalStack and MockServer. Both of them are configured
withReuse(true)
but for some reason MockServer container stops after tests are executed. I also noticed something else; when I start the containers in one process and run the tests in another process, LocalStack container works without any issue and stays running (next to Ryuk container) after tests are executed, but MockServer stops right after tests are done. I couldn't find anything helpful as to what could be the issue:reuse
flag.Relevant log output
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions