Skip to content

Commit 6c58815

Browse files
committed
Apply review comments
- Remove unused configuration - [Code clean up] Use endpoint configuration for creating redis version rule
1 parent a826afb commit 6c58815

File tree

4 files changed

+3
-37
lines changed

4 files changed

+3
-37
lines changed

src/test/java/redis/clients/jedis/csc/ClientSideCacheTestBase.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@ public abstract class ClientSideCacheTestBase {
2323

2424
@Rule
2525
public RedisVersionRule versionRule = new RedisVersionRule(
26-
HostAndPorts.getRedisEndpoint("standalone1").getHostAndPort(),
27-
HostAndPorts.getRedisEndpoint("standalone1").getClientConfigBuilder().build());
26+
HostAndPorts.getRedisEndpoint("standalone1"));
2827
@Rule
2928
public EnabledOnCommandRule enabledOnCommandRule = new EnabledOnCommandRule(
30-
HostAndPorts.getRedisEndpoint("standalone1").getHostAndPort(),
31-
HostAndPorts.getRedisEndpoint("standalone1").getClientConfigBuilder().build());
29+
HostAndPorts.getRedisEndpoint("standalone1"));
3230

3331
@Before
3432
public void setUp() throws Exception {

src/test/java/redis/clients/jedis/csc/JedisPooledClientSideCacheTest.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ public class JedisPooledClientSideCacheTest extends JedisPooledClientSideCacheTe
1111

1212
@ClassRule
1313
public static RedisVersionRule versionRule = new RedisVersionRule(
14-
HostAndPorts.getRedisEndpoint("standalone1").getHostAndPort(),
15-
HostAndPorts.getRedisEndpoint("standalone1").getClientConfigBuilder().build());
14+
HostAndPorts.getRedisEndpoint("standalone1"));
1615

1716
@BeforeClass
1817
public static void prepare() {

src/test/resources/Arch/sentinel5/config/node-sentinel5/redis.conf

-11
This file was deleted.

src/test/resources/env/endpoint.map

-20
This file was deleted.

0 commit comments

Comments
 (0)