diff --git a/server/src/internalClusterTest/java/org/opensearch/indices/IndicesRequestCacheIT.java b/server/src/internalClusterTest/java/org/opensearch/indices/IndicesRequestCacheIT.java index 8c157f85defaa..833311eab5fab 100644 --- a/server/src/internalClusterTest/java/org/opensearch/indices/IndicesRequestCacheIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/indices/IndicesRequestCacheIT.java @@ -683,6 +683,7 @@ public void testCacheWithInvalidation() throws Exception { // Should expect miss as key has changed due to change in IndexReader.CacheKey (due to refresh) assertCacheState(client, "index", 1, 2); } + // when staleness threshold is high, it should NOT clean-up public void testStaleKeysCleanup_ThresholdUpdates() throws Exception { Instant start = Instant.now();