Polishing

Closes gh-27429
This commit is contained in:
Andy Wilkinson
2021-07-21 11:07:15 +01:00
2 changed files with 1 additions and 5 deletions

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();