-
Notifications
You must be signed in to change notification settings - Fork 30k
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 unreliable async-hooks/test-signalwrap #17827
Conversation
Use an interval to keep the event loop open so the test does not exit before receiving all signals fom asynchronous `exec()` calls. Fixes: nodejs#14070
Stress test showing failures on master: https://ci.nodejs.org/job/node-stress-single-test/1571/nodes=alpine34-container-x64/console Stress test with same parameters but on this PR (hopefully showing no failures when it finishes): https://ci.nodejs.org/job/node-stress-single-test/1573/nodes=alpine34-container-x64/console |
CI is green, stress test for master is red, stress test for this PR is green. 🎉 |
Use an interval to keep the event loop open so the test does not exit before receiving all signals fom asynchronous `exec()` calls. PR-URL: nodejs#17827 Fixes: nodejs#14070 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Landed in 457ceeb |
Use an interval to keep the event loop open so the test does not exit
before receiving all signals fom asynchronous
exec()
calls.Fixes: #14070
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test async_hooks