DATAREDIS-1096 - Move off deprecated Lettuce API.
Original Pull Request: #510
This commit is contained in:
committed by
Christoph Strobl
parent
9ddc60f3e1
commit
871c6713dd
@@ -111,7 +111,7 @@ public class LettuceClusterConnectionTests implements ClusterConnectionTests {
|
||||
public void setUp() {
|
||||
|
||||
client = RedisClusterClient.create(LettuceTestClientResources.getSharedClientResources(),
|
||||
Builder.redis(CLUSTER_HOST, MASTER_NODE_1_PORT).withTimeout(500, TimeUnit.MILLISECONDS).build());
|
||||
Builder.redis(CLUSTER_HOST, MASTER_NODE_1_PORT).withTimeout(Duration.ofMillis(500)).build());
|
||||
nativeConnection = client.connect().sync();
|
||||
binaryConnection = client.connect(ByteArrayCodec.INSTANCE).sync();
|
||||
clusterConnection = new LettuceClusterConnection(client);
|
||||
|
||||
Reference in New Issue
Block a user