Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
ggivo committed Nov 13, 2024
1 parent c79c437 commit 8c42cbe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public class SSLACLJedisClusterTest extends JedisClusterTestBase {

if ("127.0.0.1".equals(host)) {
host = "localhost";
//port += tlsPortOffset; // Apply the port offset
}

return new HostAndPort(host, port);
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/redis/clients/jedis/SSLJedisClusterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public class SSLJedisClusterTest extends JedisClusterTestBase {
int port = hostAndPort.getPort();
if (host.equals("127.0.0.1")) {
host = "localhost";
//port = port + 1000;
}
return new HostAndPort(host, port);
};
Expand All @@ -39,7 +38,6 @@ public class SSLJedisClusterTest extends JedisClusterTestBase {
if ("localhost".equals(hostAndPort.getHost())) {
return hostAndPort;
}
//return new HostAndPort(hostAndPort.getHost(), hostAndPort.getPort() + 1000);
return new HostAndPort(hostAndPort.getHost(), hostAndPort.getPort() );
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public class SSLJedisSentinelPoolTest {
@BeforeClass
public static void prepare() {
TlsUtil.createAndSaveEnvTruststore("redis9-sentinel", "changeit");
//TlsUtil.setJvmTrustStore(envTruststore("redis9-sentinel"));

sentinels.add(HostAndPorts.getSentinelServers().get(4));
}
Expand Down

0 comments on commit 8c42cbe

Please sign in to comment.