Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Alfonsi <[email protected]>
  • Loading branch information
Peter Alfonsi committed Dec 17, 2024
1 parent db3e068 commit 8ea8f07
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2112,6 +2112,7 @@ public void testTieredCacheDefaultSegmentCount() {
assertEquals(TieredSpilloverCacheSettings.defaultSegments(), tieredSpilloverCache.getNumberOfSegments());
assertTrue(VALID_SEGMENT_COUNT_VALUES.contains(tieredSpilloverCache.getNumberOfSegments()));
}

public void testDropStatsForDimensions() throws Exception {
int onHeapCacheSize = randomIntBetween(300, 600);
int diskCacheSize = randomIntBetween(700, 1200);
Expand Down Expand Up @@ -2165,6 +2166,7 @@ public void testDropStatsForDimensions() throws Exception {
tieredSpilloverCache.invalidate(dropDimensionsKey);
assertEquals(new ImmutableCacheStats(0, 0, 0, 0, 0), tieredSpilloverCache.stats().getTotalStats());
}

public void testSegmentSizesWhenUsingFactory() {
// The TSC's tier size settings, TIERED_SPILLOVER_ONHEAP_STORE_SIZE and TIERED_SPILLOVER_DISK_STORE_SIZE,
// should always be respected, overriding the individual implementation's size settings if present
Expand Down

0 comments on commit 8ea8f07

Please sign in to comment.