From 56ee443e1a78c378bae74038140ce87cbef36224 Mon Sep 17 00:00:00 2001 From: Dmitry Ermolchik Date: Thu, 17 May 2018 11:30:43 +0300 Subject: [PATCH] Support of Redis 3+ sentinel mode was added --- src/main/java/redis/embedded/RedisSentinel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/redis/embedded/RedisSentinel.java b/src/main/java/redis/embedded/RedisSentinel.java index 6b8c6234..5afae5b5 100644 --- a/src/main/java/redis/embedded/RedisSentinel.java +++ b/src/main/java/redis/embedded/RedisSentinel.java @@ -4,7 +4,7 @@ import java.util.List; public class RedisSentinel extends AbstractRedisInstance { - private static final String REDIS_READY_PATTERN = ".*Sentinel runid is.*"; + private static final String REDIS_READY_PATTERN = ".*Sentinel (runid|ID) is.*"; public RedisSentinel(List args, int port) { super(port);