Skip to content

Commit

Permalink
Spotless apply
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <carrofin@amazon.com>
  • Loading branch information
finnegancarroll authored and andrross committed Sep 5, 2024
1 parent a83daa3 commit 8c9269d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ public void testConcurrentAccess() throws Exception {
}

public void testFetchBlobWithConcurrentCacheEvictions() {
// Submit 256 tasks to an executor with 16 threads that will each randomly
// request one of eight blobs. Given that the cache can only hold two
// blobs this will lead to a huge amount of contention and thrashing.
final ExecutorService testRunner = Executors.newFixedThreadPool(16);
// Submit 256 tasks to an executor with 16 threads that will each randomly
// request one of eight blobs. Given that the cache can only hold two
// blobs this will lead to a huge amount of contention and thrashing.
final ExecutorService testRunner = Executors.newFixedThreadPool(16);
try {
final List<Future<?>> futures = new ArrayList<>();
for (int i = 0; i < 256; i++) {
Expand Down

0 comments on commit 8c9269d

Please sign in to comment.