-
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
Integration test fails to start mongo with Liquibase #42453
Labels
Milestone
Comments
/cc @andrejpetras (liquibase), @geoand (liquibase), @gsmet (liquibase), @loicmathieu (mongodb) |
Actually, the container is started but the MongoDB client cannot connect to the container because it's using the wrong port. I created a fix here: #42472 . |
frne
pushed a commit
to frne/quarkus
that referenced
this issue
Aug 13, 2024
The hostname was fixed in quarkusio#42065 but when using a shared network and a container build, the application will connect directly to the container port so we shouldn't use the exposed port but the original one. Fixes quarkusio#42453
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Aug 19, 2024
The hostname was fixed in quarkusio#42065 but when using a shared network and a container build, the application will connect directly to the container port so we shouldn't use the exposed port but the original one. Fixes quarkusio#42453 (cherry picked from commit e853d39)
danielsoro
pushed a commit
to danielsoro/quarkus
that referenced
this issue
Sep 20, 2024
The hostname was fixed in quarkusio#42065 but when using a shared network and a container build, the application will connect directly to the container port so we shouldn't use the exposed port but the original one. Fixes quarkusio#42453
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Mongodb dev services don't start if
quarkus.liquibase-mongodb.migrate-at-start=true
when running@QuarkusIntegrationTest
Expected behavior
devservices must start mongo container
Actual behavior
Mongodb is not starting
How to Reproduce?
mongodb-quickstart.tar.gz
Unpack and run
./mvnw -Dquarkus.container-image.build=true verify
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "21.0.3" 2024-04-16 LTS
Quarkus version or git rev
3.13.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.8
Additional information
No response
The text was updated successfully, but these errors were encountered: