Skip to content

Commit

Permalink
Cache stores recent queries so isn't empty even with no doc id sets
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <widdis@gmail.com>
  • Loading branch information
dbwiddis committed Mar 31, 2023
1 parent 4555cc0 commit 9408434
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void testBasics() throws IOException {
assertEquals(0L, stats.getCacheCount());
assertEquals(0L, stats.getHitCount());
assertEquals(0L, stats.getMissCount());
assertEquals(0L, stats.getMemorySizeInBytes());
assertTrue(stats.getMemorySizeInBytes() >= 0L);

cache.close(); // this triggers some assertions
}
Expand Down

0 comments on commit 9408434

Please sign in to comment.