Skip to content

Commit 087253a

Browse files
authored
test: increasing timeout in testOnResponseError (#2291)
1 parent d9be11c commit 087253a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/HttpJsonDirectServerStreamingCallableTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public void testOnResponseError() throws Throwable {
263263
MoneyObserver moneyObserver = new MoneyObserver(true, latch);
264264

265265
streamingCallable.call(ERROR_REQUEST, moneyObserver);
266-
Truth.assertThat(latch.await(2000, TimeUnit.MILLISECONDS)).isTrue();
266+
Truth.assertThat(latch.await(60, TimeUnit.SECONDS)).isTrue();
267267

268268
Truth.assertThat(moneyObserver.error).isInstanceOf(ApiException.class);
269269
Truth.assertThat(((ApiException) moneyObserver.error).getStatusCode().getCode())

0 commit comments

Comments
 (0)