Skip to content

Commit b7d5511

Browse files
author
Jonathan Leibiusky
committed
It is better to point everything to localhost and we just make sure
there is not redis running on port 1234 when renning the tests.
1 parent 8ac9bd6 commit b7d5511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/redis/clients/jedis/tests/ShardedJedisPoolTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public void shouldReturnActiveShardsWhenOneGoesOffline() {
155155
// items on one shard
156156
// alter shard 1 and recreate pool
157157
pool.destroy();
158-
shards.set(1, new JedisShardInfo("nohost", 1234));
158+
shards.set(1, new JedisShardInfo("localhost", 1234));
159159
pool = new ShardedJedisPool(redisConfig, shards);
160160
jedis = pool.getResource();
161161
Long actual = Long.valueOf(0);

0 commit comments

Comments
 (0)