mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 07:49:03 +00:00
Polish "Add Redis Sentinel database support"
Closes gh-12556
This commit is contained in:
+1
-1
@@ -197,7 +197,7 @@ public class RedisAutoConfigurationTests {
|
||||
this.contextRunner
|
||||
.withPropertyValues("spring.redis.database:1",
|
||||
"spring.redis.sentinel.master:mymaster",
|
||||
"spring.redis.sentinel.nodes:127.0.0.1:26379, 127.0.0.1:26380")
|
||||
"spring.redis.sentinel.nodes:127.0.0.1:26379, 127.0.0.1:26380")
|
||||
.run((context) -> {
|
||||
LettuceConnectionFactory connectionFactory = context
|
||||
.getBean(LettuceConnectionFactory.class);
|
||||
|
||||
Reference in New Issue
Block a user