Skip to content

Commit

Permalink
Fixing gradle fail
Browse files Browse the repository at this point in the history
Signed-off-by: Sagar Upadhyaya <[email protected]>
  • Loading branch information
sgup432 committed Jun 21, 2024
1 parent 5262362 commit 7fb3893
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,7 @@ public String load(ICacheKey<String> key) {
verifyComputeIfAbsentThrowsException(RuntimeException.class, loadAwareCacheLoader, "Testing");
}

@SuppressWarnings({ "rawtypes", "unchecked" })
public void testComputeIfAbsentWithOnHeapCacheThrowingExceptionOnPut() throws Exception {
int onHeapCacheSize = randomIntBetween(100, 300);
int diskCacheSize = randomIntBetween(200, 400);
Expand Down Expand Up @@ -999,6 +1000,7 @@ public String load(ICacheKey<String> key) {
assertEquals(0, tieredSpilloverCache.completableFutureMap.size());
}

@SuppressWarnings({ "rawtypes", "unchecked" })
public void testComputeIfAbsentWithDiskCacheThrowingExceptionOnPut() throws Exception {
int onHeapCacheSize = 0;
int keyValueSize = 50;
Expand Down Expand Up @@ -1758,6 +1760,7 @@ private ImmutableCacheStats getStatsSnapshotForTier(TieredSpilloverCache<?, ?> t
return snapshot;
}

@SuppressWarnings({ "rawtypes", "unchecked" })
private void verifyComputeIfAbsentThrowsException(
Class<? extends Exception> expectedException,
LoadAwareCacheLoader loader,
Expand Down

0 comments on commit 7fb3893

Please sign in to comment.