mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge pull request #27417 from dreis2211
* gh-27417: Polishing Closes gh-27417
This commit is contained in:
commit
c8c1452ced
@ -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