-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: investigate flakiness of test-net-write-after-close #13597
Comments
I'm seeing this rear its head in v6.x now
Should we add to known flakes? |
/cc @nodejs/platform-freebsd @nodejs/streams |
Looks like it's the usual thing with FreeBSD flakes in CI, which is a race condition triggered by load. If you shorten the hardcoded 250ms timeout, you can trigger the race faster/easier. Source of the problem seems to be that the connection callback can fire after 250ms on a loaded machine. PR coming shortly to fix this... |
Proposed fix in #14361 |
Should we start a "raw numbers to |
Replace 250ms timer with event-based logic to make test robust. Fixes: nodejs#13597
Replace 250ms timer with event-based logic to make test robust. PR-URL: #14361 Fixes: #13597 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Replace 250ms timer with event-based logic to make test robust. PR-URL: #14361 Fixes: #13597 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
master
https://ci.nodejs.org/job/node-test-commit-freebsd/9623/nodes=freebsd10-64/tapResults/
The text was updated successfully, but these errors were encountered: