mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
23f2f210f3
commit
14c7998c34
@ -87,7 +87,7 @@ public class LRUCacheTest {
|
|||||||
public void issue2647Test(){
|
public void issue2647Test(){
|
||||||
final AtomicInteger removeCount = new AtomicInteger();
|
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) -> {
|
cache.setListener((key, value) -> {
|
||||||
// 共移除7次
|
// 共移除7次
|
||||||
removeCount.incrementAndGet();
|
removeCount.incrementAndGet();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user