Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ void testWhenDelayThresholdExceeds() throws Exception {

/** Validates that the elements are not leaking to multiple batches */
@Test
@Timeout(value = 500, unit = TimeUnit.MILLISECONDS)
void testElementsNotLeaking() throws Exception {
ExecutorService singleThreadExecutor = Executors.newSingleThreadExecutor();
ScheduledExecutorService multiThreadExecutor = Executors.newScheduledThreadPool(20);
Expand Down Expand Up @@ -567,7 +566,7 @@ public ApiFuture<List<Integer>> futureCall(
}

// Closing the resources
future.get();
future.get(10, TimeUnit.SECONDS);
assertThat(isDuplicateElement.get()).isFalse();
singleThreadExecutor.shutdown();
multiThreadExecutor.shutdown();
Expand Down
Loading