-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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 timeout in sequential/test-fs-watch-system-limit #23692
Conversation
This likely isn't the best way to handle this. Our test runner will generally catch the timeout and fail the test as is. /cc @nodejs/testing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fwiw, this is a re-do of #23560
I’m not sure either… it doesn’t seem great (maybe we could skip the test instead of marking it as passing?), but the test is only supposed to check the error message, so this might be okay…
as I was trying alternative options, I attempted to skip the test, but since the error stream expects at least one call, the tests were failing. I'm happy to make any changes, but off the top of my head I couldn't think of anything that would successful pass the test without upping the number of child processes that could get spawned. |
Would it make sense to move the test file from |
@Trott I would be okay with moving it there, yes… |
@marcusscott Would you be OK updating this to move the test unchanged from the |
sure thing, makes sense to me! |
53a9eec
to
df71605
Compare
Timeout in this test can occur on Linux if machine is able to handle 200 child processes that are spawned.
df71605
to
ed6c394
Compare
PR-URL: #23692 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Landed in e492f92 |
PR-URL: #23692 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: nodejs#23692 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #23692 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #23692 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Timeout in this test can occur on Linux if machine is able to handle
200 child processes that are spawned.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes