| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
LGTM but maybe it's redundant because it's probably already covered by stream.Writable#end() tests and/or other tests. It doesn't harm though. |
Sorry, something went wrong.
|
@lpinca Thank you for your review. You're right. This test is the same as below However, I think this test will ensure that net.Socket#end() provides the same interface as stream.Writable#end(). |
Sorry, something went wrong.
|
@lpinca By the way I looked at #19241 and just realized the need to consume socket data. https://nodejs.org/api/http.html#http_class_http_clientrequest
|
Sorry, something went wrong.
|
@Ajido that's how stream.Readable works. I think it's already documented in the stream docs. If not, then it makes sense to document it. |
Sorry, something went wrong.
|
@lpinca Gotcha. Certainly it was explained already in stream.Readable doc, and it was already linked from net.Socket. |
Sorry, something went wrong.
|
Anyone else's approval? |
Sorry, something went wrong.
|
@jasnell Thanks! CI jobs has failed in step not related to this PR. Can you please run CI again? 13:20:55 [debian8-docker-armv7] $ /bin/sh -xe /tmp/jenkins86729623692048483.sh 13:20:55 + set -x 13:20:55 + mkdir out/junit 13:20:55 mkdir: cannot create directory ‘out/junit’: No such file or directory 13:20:56 POST BUILD TASK : FAILURE 13:20:56 END OF POST BUILD TASK : 0 13:20:56 Recording test results 13:20:56 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? |
Sorry, something went wrong.
Sorry, something went wrong.
|
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/18969/ |
Sorry, something went wrong.
PR-URL: nodejs#24087 Refs: nodejs#23937 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#24087 Refs: nodejs#23937 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
This test checks the callback of socket.end is called.
Refs: #23937
Checklist