Skip to content

Commit

Permalink
Update IndicesRequestCacheTests.java
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <[email protected]>
  • Loading branch information
kiranprakash154 committed Apr 4, 2024
1 parent ad88936 commit 87e5c46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ public void testStaleCount_OnRemovalNotificationOfStaleKey_DecrementsStaleCount(
terminate(threadPool);
}

// when a cache entry that is NOT Stale is evicted for any reason, we should NOT deduct it from staleness count
// when a cache entry that is NOT Stale is evicted for any reason, staleness count should NOT be deducted
public void testStaleCount_OnRemovalNotificationOfStaleKey_DoesNotDecrementsStaleCount() throws Exception {
IndicesService indicesService = getInstanceFromNode(IndicesService.class);
IndexShard indexShard = createIndex("test").getShard(0);
Expand Down

0 comments on commit 87e5c46

Please sign in to comment.