| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Replace timer/timeout race with event-based ordering, eliminating test flakiness. Fixes: nodejs#11912
|
Stress test on current master (should show failures): https://ci.nodejs.org/job/node-stress-single-test-pi1-binary/17/label=pi1-raspbian-wheezy/console Stress test on this PR (should show no failures): https://ci.nodejs.org/job/node-stress-single-test-pi1-binary/19/label=pi1-raspbian-wheezy/console |
Sorry, something went wrong.
Sorry, something went wrong.
|
Argh! This version of the test doesn't fail/segfault on v7.0.0 the way the original version does, so I've now made the test invalid. Will mark this as stalled until I get around to fixing it or I give up and close it. |
Sorry, something went wrong.
|
Fixed it, but now have to re-run all the stress tests etc.... |
Sorry, something went wrong.
|
Current master stress test showing 28 failures in 999 runs: https://ci.nodejs.org/job/node-stress-single-test-pi1-binary/17/label=pi1-raspbian-wheezy/console |
Sorry, something went wrong.
Sorry, something went wrong.
|
Stress test against this PR that will hopefully show no failures: https://ci.nodejs.org/job/node-stress-single-test-pi1-binary/21/label=pi1-raspbian-wheezy/console EDIT: Oof, this made it a lot worse. Back to the drawing board. |
Sorry, something went wrong.
|
OK, did some step-debugging and hopefully this will now do it... Stress test against this PR: https://ci.nodejs.org/job/node-stress-single-test-pi1-fanned/25/ |
Sorry, something went wrong.
|
Argh, cleaned up some unused code. Once more with feeling: Stress test against this PR: https://ci.nodejs.org/job/node-stress-single-test-pi1-fanned/26/ |
Sorry, something went wrong.
|
All tests passing including stress test. |
Sorry, something went wrong.
|
LGTM apart from one nit. Thanks for fixing this! |
Sorry, something went wrong.
| // this breaks if TLSSocket is already managing the socket: | ||
| netSocket.destroy(); | ||
| const interval = setInterval(() => { | ||
| // Checking this way allows us to do the right at a time that causes a |
There was a problem hiding this comment.
s/right/write/
Sorry, something went wrong.
Replace timer/timeout race with event-based ordering, eliminating test flakiness. PR-URL: nodejs#11921 Fixes: nodejs#11912 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Replace timer/timeout race with event-based ordering, eliminating test flakiness. PR-URL: nodejs/node#11921 Fixes: nodejs/node#11912 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
Replace timer/timeout race with event-based ordering, eliminating test
flakiness.
Fixes: #11912
Checklist
Affected core subsystem(s)
test tls