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

WithExposedPorts fails integrationtests #306

Open
appiepollo14 opened this issue Nov 7, 2023 · 1 comment
Open

WithExposedPorts fails integrationtests #306

appiepollo14 opened this issue Nov 7, 2023 · 1 comment
Assignees
Labels
is:bug Something isn't working
Milestone

Comments

@appiepollo14
Copy link
Collaborator

Describe the bug
The integration test JaxrsJsonIT, running in GA, fails once the property: .withExposedPorts(9080,9443) is set. In the log I see the readynessprobe is trying to contact the app via the https port, but that will not work as nothing is set for https traffic.

To Reproduce
Add:
@Container public static ApplicationContainer app = new ApplicationContainer() .withExposedPorts(9080,9443) .withAppContextRoot("/myservice") .withReadinessPath("/myservice/app/people");

In JaxrsJsonIT classfile of sample app jaxrs-json and run CI.

Expected behavior
The exposedports should be mapped correctly to the app. Might be wrong setup of the testclass. Needs triage.

System information:

  • OS: Linux
  • Java Version: 11
  • MicroShed Testing Version: 0.9.2
@appiepollo14 appiepollo14 added the is:bug Something isn't working label Nov 7, 2023
@KyleAure KyleAure added this to the 0.9.2 milestone Nov 7, 2023
@KyleAure KyleAure modified the milestones: 0.9.2, 0.9.3 Dec 13, 2023
@KyleAure
Copy link
Collaborator

Seems like this might be a duplicate of #17
I will start taking a look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants