From 3313195c1f52c6ad913fc82d39c98ffb37d725c7 Mon Sep 17 00:00:00 2001 From: M Sazzadul Hoque Date: Fri, 22 Dec 2017 11:58:18 +0600 Subject: [PATCH] Reduce sleep time to resolve test failing issue (#1718) --- .../jedis/tests/commands/AllKindOfValuesCommandsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/redis/clients/jedis/tests/commands/AllKindOfValuesCommandsTest.java b/src/test/java/redis/clients/jedis/tests/commands/AllKindOfValuesCommandsTest.java index e0094142f1..185b11a4a6 100644 --- a/src/test/java/redis/clients/jedis/tests/commands/AllKindOfValuesCommandsTest.java +++ b/src/test/java/redis/clients/jedis/tests/commands/AllKindOfValuesCommandsTest.java @@ -403,7 +403,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"); @@ -426,7 +426,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);