Commit 9cac45d5 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Add Redis Sentinel database support"

Closes gh-12556
parent 1f80079c
...@@ -197,7 +197,7 @@ public class RedisAutoConfigurationTests { ...@@ -197,7 +197,7 @@ public class RedisAutoConfigurationTests {
this.contextRunner this.contextRunner
.withPropertyValues("spring.redis.database:1", .withPropertyValues("spring.redis.database:1",
"spring.redis.sentinel.master:mymaster", "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) -> { .run((context) -> {
LettuceConnectionFactory connectionFactory = context LettuceConnectionFactory connectionFactory = context
.getBean(LettuceConnectionFactory.class); .getBean(LettuceConnectionFactory.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment