Skip to content
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

When using random ports in a docker test, resort to host networking #16903

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Apr 29, 2021

When using random ports in a docker test, select the port in the test

When a user set quarkus.http.test-port=0 or quarkus.http.quarkus.http.test-ssl-port=0,
there is no way to know the port number to expose when launching the container,
therefore we need to resort to selecting the random port(s) in the test
before launching the container

Fixes: #16900

When a user set `quarkus.http.test-port=0` or `quarkus.http.quarkus.http.test-ssl-port=0`,
there is no way to know the port number to expose when launching the container,
therefore we need to resort to selecting the random port(s) in the test
before launching the container

Fixes: quarkusio#16900
@quarkus-bot
Copy link

quarkus-bot bot commented Apr 29, 2021

This workflow status is outdated as a new workflow run has been triggered.

🚫 This workflow run has been cancelled.

Failing Jobs - Building 66c8d71

⚠️ Artifacts of the workflow run were not available thus the report misses some details.

Status Name Step Test failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 15

Copy link
Contributor

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Apr 29, 2021
@geoand geoand merged commit 6ba7984 into quarkusio:main Apr 29, 2021
@quarkus-bot quarkus-bot bot added this to the 2.0 - main milestone Apr 29, 2021
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Apr 29, 2021
@geoand geoand deleted the #16900 branch May 1, 2021 07:51
@gsmet gsmet modified the milestones: 2.0.0.Alpha2, 1.13.4.Final May 10, 2021
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.

QuarkusIntegrationTest failing on containerized native image with quarkus.http.test-(ssl-)port set to 0
4 participants