diff --git a/src/test/java/redis/clients/jedis/tests/ShardedJedisPoolTest.java b/src/test/java/redis/clients/jedis/tests/ShardedJedisPoolTest.java index 35d7c5406d..ee7951b471 100644 --- a/src/test/java/redis/clients/jedis/tests/ShardedJedisPoolTest.java +++ b/src/test/java/redis/clients/jedis/tests/ShardedJedisPoolTest.java @@ -155,7 +155,7 @@ public void shouldReturnActiveShardsWhenOneGoesOffline() { // items on one shard // alter shard 1 and recreate pool pool.destroy(); - shards.set(1, new JedisShardInfo("nohost", 1234)); + shards.set(1, new JedisShardInfo("localhost", 1234)); pool = new ShardedJedisPool(redisConfig, shards); jedis = pool.getResource(); Long actual = Long.valueOf(0);