test: log errors in test-fs-readfile-tostring-fail#27058
test: log errors in test-fs-readfile-tostring-fail#27058richardlau merged 1 commit intonodejs:masterfrom
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. |
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 <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
7e34873 to
f85ef97
Compare
|
Landed in f85ef97. |
The test writes out a large file via
fs.createWriteStream()but wasnot listening for the
errorevent, which thefsdocs describe as thereliable way to detect write errors.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes