From 1ae39a74c1ded5def71add0f9b53d1b794efed88 Mon Sep 17 00:00:00 2001 From: zhangyi51 Date: Thu, 20 May 2021 15:27:34 +0800 Subject: [PATCH] reduce expire time for CacheManagerTest.testCacheExpire() Change-Id: I9588f2df9a6db197dcd0d35c98b7d99993a9aabf --- .../java/com/baidu/hugegraph/unit/cache/CacheManagerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugegraph-test/src/main/java/com/baidu/hugegraph/unit/cache/CacheManagerTest.java b/hugegraph-test/src/main/java/com/baidu/hugegraph/unit/cache/CacheManagerTest.java index ac06bd04a4..16a911e417 100644 --- a/hugegraph-test/src/main/java/com/baidu/hugegraph/unit/cache/CacheManagerTest.java +++ b/hugegraph-test/src/main/java/com/baidu/hugegraph/unit/cache/CacheManagerTest.java @@ -234,7 +234,7 @@ public void testCacheListModify() { @Test public void testCacheExpire() { Cache cache1 = new RamCache(); - cache1.expire(28 * 1000L); + cache1.expire(26 * 1000L); Cache cache2 = new RamCache(); cache2.expire(0);