Polishing

See gh-27417
This commit is contained in:
dreis2211 2021-07-20 18:33:26 +02:00 committed by Andy Wilkinson
parent dcced2561a
commit 4d0c98011e

View File

@ -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> health = healthIndicator.health();