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: increase test timeouts to avoid flaky tests #622

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

tniessen
Copy link
Member

mocha defaults to a 2000ms timeout, which frequently causes CI to fail.
Since such short timeouts are pretty much useless, vastly increase the
timeout to one minute per test.

@tniessen tniessen added the test Issues related to test suites label Apr 21, 2022
@codecov
Copy link

codecov bot commented Apr 21, 2022

Codecov Report

Merging #622 (e7fd056) into main (649a3b0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #622   +/-   ##
=======================================
  Coverage   84.13%   84.13%           
=======================================
  Files          37       37           
  Lines        4065     4065           
=======================================
  Hits         3420     3420           
  Misses        645      645           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 649a3b0...e7fd056. Read the comment docs.

mocha defaults to a 2000ms timeout, which frequently causes CI to fail.
Since such short timeouts are pretty much useless, vastly increase the
timeout to one minute per test.
@tniessen tniessen changed the title Increase test timeouts to avoid flaky tests chore: increase test timeouts to avoid flaky tests Apr 22, 2022
@tniessen tniessen merged commit e798b77 into nodejs:main Apr 22, 2022
@tniessen tniessen deleted the short-timeouts-are-useless branch April 22, 2022 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues related to test suites
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants