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
Split node tests into slow and fast tests #2459
base: master
Are you sure you want to change the base?
Conversation
|
I split up the node tests into "slow" and "fast" tests. Fast tests are tests that have a execution time of 25 milliseconds or less and slow tests execute in more than 25 milliseconds. They tests will timeout after 75ms. This change means that the fast test suite runs in roughly 1 second and the slow test suite in 2 minutes.
See
developer-docs/testing-philosophy.md
for more information on the whole philosophy of this change.I still think there's a lot more we can do to make the tests faster and make the threshold even lower.