Skip to content

Commit

Permalink
test: increasing timeout in testOnResponseError (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo committed Dec 13, 2023
1 parent d9be11c commit 087253a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public void testOnResponseError() throws Throwable {
MoneyObserver moneyObserver = new MoneyObserver(true, latch);

streamingCallable.call(ERROR_REQUEST, moneyObserver);
Truth.assertThat(latch.await(2000, TimeUnit.MILLISECONDS)).isTrue();
Truth.assertThat(latch.await(60, TimeUnit.SECONDS)).isTrue();

Truth.assertThat(moneyObserver.error).isInstanceOf(ApiException.class);
Truth.assertThat(((ApiException) moneyObserver.error).getStatusCode().getCode())
Expand Down

0 comments on commit 087253a

Please sign in to comment.