Skip to content

WithExposedPorts fails integrationtests #306

@appiepollo14

Description

@appiepollo14

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

Metadata

Metadata

Assignees

Labels

is:bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions