diff --git a/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallableTest.java b/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallableTest.java index 3b5312e01b..82c8e3e0c2 100644 --- a/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallableTest.java +++ b/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallableTest.java @@ -200,9 +200,9 @@ public void testServerStreamingStart() throws InterruptedException { Truth.assertThat(moneyObserver.controller).isNotNull(); // wait for the task to complete, otherwise it may interfere with other tests, since they share - // the same MockService and unfinished request in this tes may start readind messages designated - // for other tests. - Truth.assertThat(latch.await(2, TimeUnit.SECONDS)).isTrue(); + // the same MockService and unfinished request in this test may start reading messages + // designated for other tests. + Truth.assertThat(latch.await(60, TimeUnit.SECONDS)).isTrue(); } @Test