Skip to content

Commit f52ef0f

Browse files
Update sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/batching/BatcherImplTest.java
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent a17747d commit f52ef0f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/batching/BatcherImplTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,7 @@ public ApiFuture<List<Integer>> futureCall(
566566
}
567567

568568
// Closing the resources
569-
await().atMost(Duration.ofSeconds(10)).until(future::isDone);
570-
future.get();
569+
future.get(10, TimeUnit.SECONDS);
571570
assertThat(isDuplicateElement.get()).isFalse();
572571
singleThreadExecutor.shutdown();
573572
multiThreadExecutor.shutdown();

0 commit comments

Comments
 (0)