http: fix the reverted commit which would swallow some errors #79891
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-http-client-early-response-reset-after-request-end.js#L0
--- stderr ---
node:assert:173
throw err;
^
AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/node/node/node/test/parallel/test-http-client-early-response-reset-after-request-end.js:52
called with arguments: Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:88:19) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
at ClientRequest.mustNotCall (/Users/runner/work/node/node/node/test/common/index.js:569:12)
at ClientRequest.emit (node:events:514:20)
at emitErrorEvent (node:_http_client:115:11)
at Socket.socketErrorListener (node:_http_client:782:7)
at Socket.emit (node:events:514:20)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-http-client-early-response-reset-after-request-end.js
|
|
sccache stats - test-macOS
50% - 2530 hits, 2506 misses, 0 errors
|