lib: support promise reject for http2.connect promisify integration #57755
Annotations
2 errors
test-linux:
test/parallel/test-http2-client-promisify-connect.js#L20
--- stderr ---
node:internal/http2/core:3386
session.once('error', reject);
^
ReferenceError: session is not defined
at node:internal/http2/core:3386:7
at new Promise (<anonymous>)
at value (node:internal/http2/core:3383:12)
at Http2Server.<anonymous> (/home/runner/work/node/node/test/parallel/test-http2-client-promisify-connect.js:20:3)
at Http2Server.<anonymous> (/home/runner/work/node/node/test/common/index.js:477:15)
at Object.onceWrapper (node:events:634:28)
at Http2Server.emit (node:events:520:28)
at emitListeningNT (node:net:1947:10)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
Node.js v23.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/node/node/test/parallel/test-http2-client-promisify-connect.js
|
test-linux
Process completed with exit code 2.
|