We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960ce90 commit d937cd6Copy full SHA for d937cd6
src/test/java/redis/clients/jedis/commands/jedis/JedisCommandsTestBase.java
@@ -42,7 +42,8 @@ public JedisCommandsTestBase(RedisProtocol protocol) {
42
43
@Before
44
public void setUp() throws Exception {
45
- jedis = endpoint.getJedis(500);
+ jedis = new Jedis(endpoint.getHostAndPort(), endpoint.getClientConfigBuilder()
46
+ .protocol(protocol).timeoutMillis(500).build());
47
jedis.flushAll();
48
}
49
@@ -52,6 +53,7 @@ public void tearDown() throws Exception {
52
53
54
55
protected Jedis createJedis() {
- return endpoint.getJedis();
56
+ return new Jedis(endpoint.getHostAndPort(), endpoint.getClientConfigBuilder()
57
58
59
0 commit comments