diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/redis/RedisReactiveHealthIndicatorTests.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/redis/RedisReactiveHealthIndicatorTests.java index 431cdf165e..cb45f42bfe 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/redis/RedisReactiveHealthIndicatorTests.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/redis/RedisReactiveHealthIndicatorTests.java @@ -95,8 +95,6 @@ class RedisReactiveHealthIndicatorTests { @Test void healthWhenClusterStateIsFailShouldBeDown() { - Properties clusterProperties = new Properties(); - clusterProperties.setProperty("cluster_state", "fail"); ReactiveRedisConnectionFactory redisConnectionFactory = createClusterConnectionFactory("fail"); RedisReactiveHealthIndicator healthIndicator = new RedisReactiveHealthIndicator(redisConnectionFactory); Mono health = healthIndicator.health();