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

chore: Fix flaky metrics tests (#1865) #1993

Merged
merged 1 commit into from
Nov 6, 2023

Commits on Nov 6, 2023

  1. chore: Fix flaky metrics tests (googleapis#1865)

    This fixes a few flaky unit tests that relied on `Thread.sleep` to ensure that all metrics processing was done.  Rather than using `Thread.sleep`, we can instead use an inline event queue in the OpenCensus stats component to execute all work inline, removing the need to wait for anything to finish.
    steveniemitz authored and mutianf committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    c0205a0 View commit details
    Browse the repository at this point in the history