Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: increasing timeout in testServerStreamingStart (#2308)
Fixes #1678 The assertion error tells `latch.await(2, TimeUnit.SECONDS)` did not return true. https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CountDownLatch.html#await-long-java.util.concurrent.TimeUnit- > Returns: > true if the count reached zero and false if the waiting time elapsed before the count reached zero Under a multithreading test, there's no guarantee that `latch.await(2, TimeUnit.SECONDS)` finishes within 2 second. Increasing the value to 60 second to (drastically) reduce the flakiness.
- Loading branch information