Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#8861] Improve(test): fix testPolicyAndTagCacheWeigher (#8862)

Junda Yanga87e8be2686f
diff --git a/core/src/test/java/org/apache/gravitino/cache/TestCacheConfig.java b/core/src/test/java/org/apache/gravitino/cache/TestCacheConfig.java
index 3944d9a282..675305ef91 100644
--- a/core/src/test/java/org/apache/gravitino/cache/TestCacheConfig.java
+++ b/core/src/test/java/org/apache/gravitino/cache/TestCacheConfig.java
@@ -157,7 +157,7 @@ public class TestCacheConfig {
// There should no tag entities in the cache, because the weight of each tag entity is 100 that
// is higher than the maximum weight of the fileset entity which is 200.
Awaitility.await()
- .atMost(Duration.ofSeconds(5))
+ .atMost(Duration.ofSeconds(10))
.pollInterval(Duration.ofMillis(10))
.until(
() ->