Skip to content

Commit 7ca0323

Browse files
committed
Adapt assertion for availability probes being available by default
See gh-22825
1 parent 83ad15b commit 7ca0323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system-test/spring-boot-deployment-system-tests/src/systemTest/java/org/springframework/boot/deployment/AbstractDeploymentTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void health() {
6060
getDeployedApplication().test((rest) -> {
6161
ResponseEntity<String> response = rest.getForEntity("/actuator/health", String.class);
6262
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK);
63-
assertThat(response.getBody()).isEqualTo("{\"status\":\"UP\"}");
63+
assertThat(response.getBody()).isEqualTo("{\"groups\":[\"liveness\",\"readiness\"],\"status\":\"UP\"}");
6464
});
6565
}
6666

0 commit comments

Comments
 (0)