mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix test
This commit is contained in:
parent
23f2f210f3
commit
14c7998c34
@ -87,7 +87,7 @@ public class LRUCacheTest {
|
||||
public void issue2647Test(){
|
||||
final AtomicInteger removeCount = new AtomicInteger();
|
||||
|
||||
final LRUCache<String, Integer> cache = CacheUtil.newLRUCache(3,1);
|
||||
final LRUCache<String, Integer> cache = CacheUtil.newLRUCache(3,1000);
|
||||
cache.setListener((key, value) -> {
|
||||
// 共移除7次
|
||||
removeCount.incrementAndGet();
|
||||
|
Loading…
x
Reference in New Issue
Block a user