-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Timeout default is incorrect, 200ms instead of 2000ms #3571
Comments
Which integration test(s) fail? Specific set (e.g., test.node.integration) from "package-scripts"? |
for example: they all do work with --timeout=2000
|
In mocha.opts timeout is set to 200ms. When I start tests manually some fail because of a timeout error. |
How did you run tests? |
Yes, running the tests with the package script, then timeout is 5000ms. Running some individual tests/spec files manually as the ones listed above, then timeout is 200ms. |
You can run them with |
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha.Description
The timeout default value is set differently in the master branch and my local Mocha V5.2.0
Output master branch: 200
Output my local Mocha: 2000
Many integration test are failing for that reason. These tests do pass correctly when using the flag --timeout=2000
Steps to Reproduce
Expected behavior: default timeout should be 2000ms
Actual behavior: default timeout is 200ms
Reproduces how often: always
Versions
mocha --version
andnode node_modules/.bin/mocha --version
: master branchnode --version
: V10.5.0Additional Information
master branch
The text was updated successfully, but these errors were encountered: