-
Notifications
You must be signed in to change notification settings - Fork 2.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
Elasticsearch container with dev services does not shut down #38687
Comments
You added a link to a Zulip discussion, please make sure the description of the issue is comprehensive and doesn't require accessing Zulip This message is automatically generated by a bot. |
/cc @geoand (devservices), @gsmet (elasticsearch), @loicmathieu (elasticsearch), @stuartwdouglas (devservices), @yrodiere (elasticsearch) |
Thanks for reporting, and for the reproducer! Unfortunately, with your reproducer, and if I remove my I even get that in logs:
(Note I did encounter a bug, #38706, but that's not the same thing) So... I'm afraid I'll need more context. How do you run the reproducer? What logs do you see when you execute your reproducer? What does your What's your OS? What version of podman or docker do you have installed? |
I only experienced this behavior when running the tests as you explained in #38706 |
Ok, then I can't reproduce this. So:
|
Within my IDE i am right clicking the class name -> run test What logs do you see when you execute your reproducer?
What does your .testcontainers.properties file look like? What's your OS? What version of podman or docker do you have installed? |
Is that the whole log? I don't see the warning I mentioned earlier about reuse needing to be enabled explicitly, that's suspicious. Also:
This looks like you do have a
See the docs: https://java.testcontainers.org/features/configuration/#configuration-locations |
Hello @m-stramel , kind reminder that we don't have enough information to investigate this problem (can't reproduce it, seemingly incomplete logs). |
Closing for lack of feedback |
Describe the bug
The elasticsearch container created with dev services does not shut down once the lifecycle of the process has stopped
Expected behavior
The elasticsearch container properly shuts down after the process has completed
Actual behavior
The elasticsearch container does not shut down when expected to
How to Reproduce?
elasticsearch-container-reproducer.zip
Output of
uname -a
orver
No response
Output of
java -version
build 17.0.7+0
Quarkus version or git rev
3.7.1, 3.7.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
Workaround: Include
quarkus.elasticsearch.devservices.reuse=false
in yourapplication.properties
fileZulip conversation: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Elasticsearch.20docker.20container.20does.20not.20shut.20down
The text was updated successfully, but these errors were encountered: