From e17d24c7108bfcc4ece55a386df1e4720fe438d9 Mon Sep 17 00:00:00 2001 From: Jonathan Leibiusky Date: Tue, 3 Dec 2013 18:20:49 -0500 Subject: [PATCH] make list command tests fast --- .../redis/clients/jedis/tests/commands/ListCommandsTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/redis/clients/jedis/tests/commands/ListCommandsTest.java b/src/test/java/redis/clients/jedis/tests/commands/ListCommandsTest.java index 5653687..079ab3f 100644 --- a/src/test/java/redis/clients/jedis/tests/commands/ListCommandsTest.java +++ b/src/test/java/redis/clients/jedis/tests/commands/ListCommandsTest.java @@ -434,6 +434,8 @@ public class ListCommandsTest extends JedisCommandTestBase { }).start(); result = jedis.blpop(1, "foo"); + System.out.println("sddssddssd"); + assertNotNull(result); assertEquals(2, result.size()); assertEquals("foo", result.get(0)); @@ -594,7 +596,7 @@ public class ListCommandsTest extends JedisCommandTestBase { (new Thread(new Runnable() { public void run() { try { - Thread.sleep(2000); + Thread.sleep(100); Jedis j = createJedis(); j.lpush("foo", "a"); } catch (InterruptedException e) {