-
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: log errors in test-fs-readfile-tostring-fail #27058
Conversation
|
For context: #16601 (comment)
|
We're getting the same thing:
https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/5902/console |
Added 33947f7 to try to see other errors Got 🍩 :
|
What's the status here? |
33947f7
to
7e34873
Compare
Rebased and pushed out 33947f7 which broke the linter. Even if this doesn't reveal the original error that is causing the tests to flake on the CI it is no worse and is the correct way to detect write errors according to our documentation so I think we should land this. |
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.
Still LGTM
The test writes out a large file via `fs.createWriteStream()` but was not listening for the `error` event, which the `fs` docs describe as the reliable way to detect write errors. PR-URL: nodejs#27058 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
7e34873
to
f85ef97
Compare
Landed in f85ef97. |
The test writes out a large file via
fs.createWriteStream()
but wasnot listening for the
error
event, which thefs
docs describe as thereliable way to detect write errors.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes