http2: emit ERR_HTTP2_INVALID_SESSION async instead of throwing synchronously #85656
Annotations
4 errors and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-http2-client-destroy.js#L84
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Missing expected exception (Error).
at Http2Server.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-http2-client-destroy.js:84:12)
at Http2Server.<anonymous> (/home/runner/work/node/node/node/test/common/index.js:510:15)
at Object.onceWrapper (node:events:630:28)
at Http2Server.emit (node:events:509:20)
at emitListeningNT (node:net:2051:10)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: {
name: 'Error',
code: 'ERR_HTTP2_INVALID_SESSION',
message: 'The session has been destroyed'
},
operator: 'throws',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-http2-client-destroy.js
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/parallel/test-http2-client-destroy.js#L84
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Missing expected exception (Error).
at Http2Server.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-http2-client-destroy.js:84:12)
at Http2Server.<anonymous> (/home/runner/work/node/node/node/test/common/index.js:510:15)
at Object.onceWrapper (node:events:630:28)
at Http2Server.emit (node:events:509:20)
at emitListeningNT (node:net:2051:10)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: {
name: 'Error',
code: 'ERR_HTTP2_INVALID_SESSION',
message: 'The session has been destroyed'
},
operator: 'throws',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-http2-client-destroy.js
|
|
sccache stats - test-linux
63% - 3118 hits, 1856 misses, 0 errors
|
|
sccache stats - test-linux
68% - 3398 hits, 1566 misses, 0 errors
|