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: reduce flakiness of test-runner-output.mjs #52146

Merged
merged 1 commit into from
Mar 19, 2024

Commits on Mar 18, 2024

  1. test: reduce flakiness of test-runner-output.mjs

    This commit is similar to nodejs#51952. When the system is under load
    it is possible for these timeout tests to become flaky. We
    work around that by using a much longer setTimeout() in the test
    so that it is not racing against the test's timeout. But, we have
    to unref() such a large timeout. And, because test timeouts do
    not currently keep the event loop alive, we use a different
    setTimeout() for that purpose.
    
    Fixes: nodejs#52139
    Refs: nodejs#52140
    cjihrig committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    21c7305 View commit details
    Browse the repository at this point in the history