feat: new hooks #14693
Annotations
10 errors and 1 notice
Run tests:
test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests:
test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests:
test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError).
at res.<computed> [as throws] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:154:7)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: InvalidArgumentError: invalid onError method
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:160:9)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7),
operator: 'throws'
}
}
|
Run tests:
test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: false == true
at DecoratorHandler.onResponseStarted (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5)
at Request.onResponseStarted (/home/runner/work/undici/undici/lib/core/request.js:233:46)
at ClientHttp2Stream.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13)
at Object.onceWrapper (node:events:634:26)
at ClientHttp2Stream.emit (node:events:519:28)
at emit (node:internal/http2/core:339:3)
at process.processTicksAndRejections (node:internal/process/task_queues:85:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
Run tests:
test/http2.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests:
test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed
at res.<computed> [as ifError] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at Object.onError (/home/runner/work/undici/undici/test/client-timeout.js:200:11)
at DecoratorHandler.onError (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28)
at Request.onError (/home/runner/work/undici/undici/lib/core/request.js:300:27)
at Object.errorRequest (/home/runner/work/undici/undici/lib/core/util.js:812:13)
at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12)
at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24)
at Socket.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: SocketError: other side closed
at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24)
at Socket.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21),
expected: null,
operator: 'ifError'
}
}
|
Run tests:
test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests:
test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests:
test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests
Process completed with exit code 1.
|
Run tests
Error:: Test "should throw if handler is not valid on redirect" at test/mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event.
Total Tests: 868
Suites 📂: 75
Passed ✅: 854
Failed ❌: 3
Canceled 🚫: 6
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 98306.562ms
|
Loading