Fix sentinel test not to be so sensitive to time

This commit is contained in:
Jonathan Leibiusky
2014-01-16 20:37:47 -05:00
parent 424ae75c7d
commit 23b54c2cef
3 changed files with 136 additions and 134 deletions

View File

@@ -69,6 +69,7 @@ public class JedisSentinelPoolTest extends JedisTestBase {
}
waitForFailover(pool, oldMaster);
Thread.sleep(100);
jedis = pool.getResource();
assertEquals("PONG", jedis.ping());