From 7ca0323878f751c90a2bcdb019e047cefdaabfde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Mon, 15 Sep 2025 12:48:58 +0200 Subject: [PATCH] Adapt assertion for availability probes being available by default See gh-22825 --- .../boot/deployment/AbstractDeploymentTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-test/spring-boot-deployment-system-tests/src/systemTest/java/org/springframework/boot/deployment/AbstractDeploymentTests.java b/system-test/spring-boot-deployment-system-tests/src/systemTest/java/org/springframework/boot/deployment/AbstractDeploymentTests.java index c5f1ae8da9c..35702a12513 100644 --- a/system-test/spring-boot-deployment-system-tests/src/systemTest/java/org/springframework/boot/deployment/AbstractDeploymentTests.java +++ b/system-test/spring-boot-deployment-system-tests/src/systemTest/java/org/springframework/boot/deployment/AbstractDeploymentTests.java @@ -60,7 +60,7 @@ abstract class AbstractDeploymentTests { getDeployedApplication().test((rest) -> { ResponseEntity response = rest.getForEntity("/actuator/health", String.class); assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK); - assertThat(response.getBody()).isEqualTo("{\"status\":\"UP\"}"); + assertThat(response.getBody()).isEqualTo("{\"groups\":[\"liveness\",\"readiness\"],\"status\":\"UP\"}"); }); }