Skip to content

Commit

Permalink
It is better to point everything to localhost and we just make sure
Browse files Browse the repository at this point in the history
there is not redis running on port 1234 when renning the tests.
  • Loading branch information
Jonathan Leibiusky committed Feb 17, 2014
1 parent 8ac9bd6 commit b7d5511
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b7d5511

Please sign in to comment.