mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polishing
See gh-27417
This commit is contained in:
parent
dcced2561a
commit
4d0c98011e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user