Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: increasing timeout in testServerStreamingStart #2308

Merged
merged 1 commit into from
Dec 15, 2023
Merged

test: increasing timeout in testServerStreamingStart #2308

merged 1 commit into from
Dec 15, 2023

Commits on Dec 15, 2023

  1. test: increasing timeout in testServerStreamingStart

    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.
    suztomo committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    9acb552 View commit details
    Browse the repository at this point in the history