microshed-testing icon indicating copy to clipboard operation
microshed-testing copied to clipboard

WithExposedPorts fails integrationtests

Open appiepollo14 opened this issue 2 years ago • 1 comments

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 avatar Nov 07 '23 11:11 appiepollo14

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

KyleAure avatar Dec 28 '23 15:12 KyleAure