From 14c7998c34a7d7e9c9fc855fffe24f9bf2eae088 Mon Sep 17 00:00:00 2001 From: Looly Date: Fri, 3 Jan 2025 22:31:09 +0800 Subject: [PATCH] fix test --- .../test/java/org/dromara/hutool/core/cache/LRUCacheTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hutool-core/src/test/java/org/dromara/hutool/core/cache/LRUCacheTest.java b/hutool-core/src/test/java/org/dromara/hutool/core/cache/LRUCacheTest.java index b129c2336..bdea382ef 100644 --- a/hutool-core/src/test/java/org/dromara/hutool/core/cache/LRUCacheTest.java +++ b/hutool-core/src/test/java/org/dromara/hutool/core/cache/LRUCacheTest.java @@ -87,7 +87,7 @@ public class LRUCacheTest { public void issue2647Test(){ final AtomicInteger removeCount = new AtomicInteger(); - final LRUCache cache = CacheUtil.newLRUCache(3,1); + final LRUCache cache = CacheUtil.newLRUCache(3,1000); cache.setListener((key, value) -> { // 共移除7次 removeCount.incrementAndGet();