From 1aa07410dbb9d73c4ce572af8267f25c55662c87 Mon Sep 17 00:00:00 2001 From: alexxiyang Date: Sun, 25 Nov 2018 23:49:15 -0800 Subject: [PATCH] Modify RedisCacheTest.testSize() --- src/test/java/org/crazycake/shiro/RedisCacheTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/crazycake/shiro/RedisCacheTest.java b/src/test/java/org/crazycake/shiro/RedisCacheTest.java index 3c8a62998..01d79ec62 100644 --- a/src/test/java/org/crazycake/shiro/RedisCacheTest.java +++ b/src/test/java/org/crazycake/shiro/RedisCacheTest.java @@ -99,7 +99,7 @@ public void testPut() { public void testSize() throws InterruptedException { doPutAuth(redisCache, user1); doPutAuth(redisCache, user2); - Thread.sleep(500); + Thread.sleep(800); assertEquals(redisCache.size(), 2); }