Add first test to thorw MovedDataException when receiving MOVED from a cluster node
This commit is contained in:
@@ -18,7 +18,7 @@ public class JedisPool extends Pool<Jedis> {
|
||||
this(new GenericObjectPoolConfig(), host, port,
|
||||
Protocol.DEFAULT_TIMEOUT, null, Protocol.DEFAULT_DATABASE, null);
|
||||
}
|
||||
|
||||
|
||||
public JedisPool(final String host) {
|
||||
URI uri = URI.create(host);
|
||||
if (uri.getScheme() != null && uri.getScheme().equals("redis")) {
|
||||
|
||||
Reference in New Issue
Block a user