Skip to content

Commit

Permalink
Reduce sleep time to resolve test failing issue (#1718)
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Dec 22, 2017
1 parent 0542f70 commit bdae9b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ public void touch() throws Exception {

jedis.set("foo1", "bar1");

Thread.sleep(2000);
Thread.sleep(1100); // little over 1 sec
assertTrue(jedis.objectIdletime("foo1") > 0);

reply = jedis.touch("foo1");
Expand All @@ -425,7 +425,7 @@ public void touch() throws Exception {

jedis.set(bfoo1, bbar1);

Thread.sleep(2000);
Thread.sleep(1100); // little over 1 sec
assertTrue(jedis.objectIdletime(bfoo1) > 0);

reply = jedis.touch(bfoo1);
Expand Down

0 comments on commit bdae9b3

Please sign in to comment.