From 9b37722c48e5cf125797dae4d083e59e0fb8c401 Mon Sep 17 00:00:00 2001 From: Sagar Upadhyaya Date: Mon, 18 Mar 2024 18:04:59 -0700 Subject: [PATCH] Adding comment in unit test for readability Signed-off-by: Sagar Upadhyaya --- .../opensearch/cache/common/tier/TieredSpilloverCacheTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/cache-common/src/test/java/org/opensearch/cache/common/tier/TieredSpilloverCacheTests.java b/modules/cache-common/src/test/java/org/opensearch/cache/common/tier/TieredSpilloverCacheTests.java index f58f6305c38fc..b132952834f06 100644 --- a/modules/cache-common/src/test/java/org/opensearch/cache/common/tier/TieredSpilloverCacheTests.java +++ b/modules/cache-common/src/test/java/org/opensearch/cache/common/tier/TieredSpilloverCacheTests.java @@ -154,6 +154,7 @@ public void testComputeIfAbsentWithFactoryBasedCacheCreation() throws Exception } // Verify on heap cache size. assertEquals(onHeapCacheSize, tieredSpilloverCache.getOnHeapCache().count()); + // Verify disk cache size. assertEquals(numOfItems1 - onHeapCacheSize, tieredSpilloverCache.getDiskCache().count()); }