From 4d0c98011e40d5dd98605e4d29ce8fd2621bf8e0 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 20 Jul 2021 18:33:26 +0200 Subject: [PATCH] Polishing See gh-27417 --- .../boot/actuate/redis/RedisReactiveHealthIndicatorTests.java | 2 -- 1 file changed, 2 deletions(-) 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 431cdf165e1..cb45f42bfe6 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();