-
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: move test-worker-eventlooputil to sequential #35996
Conversation
The test is not nearly as unreliable as it used to be but we're still seeing failures around the timing checks that will definitely be affected by other tests running in other processes. So move it to sequential. Refs: nodejs#35961 (comment)
Refs: #35961 (comment) |
Here's what the very occasional failure looks like today:
|
This comment has been minimized.
This comment has been minimized.
I think the test could be fixed by using a larger timeout, or maybe by adding some more logic to ensure that worker already reached the waitForNext event place in libuv after posting the return message. Do you think it's worth to invest some time in this or is it fine to keep the test in sequential forever? |
Using a larger timeout? I'd rather just move to sequential because the magic numbers in parallel come back to bite us in surprising ways sooner or later. Adding some more logic to ensure that worker already reached the waitForNext event place in libuv after posting the return message? That sounds more robust/correct to me. Whether or not it's worth it depends on how satisfied you will feel to have done that. 😄 |
FWIW, here's what I had to do to see the test fail more than once or twice in a stress test: https://ci.nodejs.org/job/node-stress-single-test/200/ 12 failures in 1000 runs. The key was |
This comment has been minimized.
This comment has been minimized.
Landed in f5a86b5...660265e |
The test is not nearly as unreliable as it used to be but we're still seeing failures around the timing checks that will definitely be affected by other tests running in other processes. So move it to sequential. Refs: #35961 (comment) PR-URL: #35996 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
The test is not nearly as unreliable as it used to be but we're still seeing failures around the timing checks that will definitely be affected by other tests running in other processes. So move it to sequential. Refs: #35961 (comment) PR-URL: #35996 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
The test is not nearly as unreliable as it used to be but we're still
seeing failures around the timing checks that will definitely be
affected by other tests running in other processes. So move it to
sequential.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes