Merge pull request #27417 from dreis2211

* gh-27417:
  Polishing

Closes gh-27417
This commit is contained in:
Andy Wilkinson 2021-07-21 11:06:29 +01:00
commit c8c1452ced

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