Polish integration test
This commit is contained in:
parent
62c09d607a
commit
257703f546
|
@ -48,7 +48,7 @@ class DeploymentIntegrationTests {
|
|||
|
||||
@ParameterizedTest
|
||||
@MethodSource("deployedApplications")
|
||||
void home(DeployedApplication app) throws Exception {
|
||||
void home(DeployedApplication app) {
|
||||
app.test((rest) -> {
|
||||
ResponseEntity<String> response = rest.getForEntity("/", String.class);
|
||||
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK);
|
||||
|
@ -58,7 +58,7 @@ class DeploymentIntegrationTests {
|
|||
|
||||
@ParameterizedTest
|
||||
@MethodSource("deployedApplications")
|
||||
void health(DeployedApplication application) throws Exception {
|
||||
void health(DeployedApplication application) {
|
||||
application.test((rest) -> {
|
||||
ResponseEntity<String> response = rest.getForEntity("/actuator/health", String.class);
|
||||
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK);
|
||||
|
@ -70,7 +70,7 @@ class DeploymentIntegrationTests {
|
|||
return Arrays.asList(new DeployedApplication("open-liberty:19.0.0.9-webProfile8", "/config/dropins", 9080),
|
||||
new DeployedApplication("tomcat:9.0.29-jdk8-openjdk", "/usr/local/tomcat/webapps", 8080),
|
||||
new DeployedApplication("tomee:11-jre-8.0.0-M3-webprofile", "/usr/local/tomee/webapps", 8080),
|
||||
new DeployedApplication("jboss/wildfly:18.0.1.Final", "/opt/jboss/wildfly/standalone/deployments/",
|
||||
new DeployedApplication("jboss/wildfly:18.0.1.Final", "/opt/jboss/wildfly/standalone/deployments",
|
||||
8080));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue