Adapt assertion for availability probes being available by default
See gh-22825
This commit is contained in:
parent
83ad15ba3b
commit
7ca0323878
|
@ -60,7 +60,7 @@ abstract class AbstractDeploymentTests {
|
||||||
getDeployedApplication().test((rest) -> {
|
getDeployedApplication().test((rest) -> {
|
||||||
ResponseEntity<String> response = rest.getForEntity("/actuator/health", String.class);
|
ResponseEntity<String> response = rest.getForEntity("/actuator/health", String.class);
|
||||||
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK);
|
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK);
|
||||||
assertThat(response.getBody()).isEqualTo("{\"status\":\"UP\"}");
|
assertThat(response.getBody()).isEqualTo("{\"groups\":[\"liveness\",\"readiness\"],\"status\":\"UP\"}");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue