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: fix flaky test when run under load #144

Merged
merged 1 commit into from
Jun 18, 2024

Commits on Jun 18, 2024

  1. test: fix flaky test when run under load

    Running the test with the following:
    
        $ ./tools/test.py -J --repeat=100 test/addons/nsolid-statsdagent/nsolid-statsdagent.js
    
    caused the test to fail in various ways. The fix takes into account that
    when the test is slowed down under load it's possible for the
    StatsDAgent instance to be ready before it can be checked in JS, and
    that the data might have been placed into a single call to 'data'.
    
    Fixes: #142
    PR-URL: #144
    Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
    trevnorris committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    c6e2cd4 View commit details
    Browse the repository at this point in the history