feat: new hooks #14693
Annotations
8 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] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:154:7)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: InvalidArgumentError: invalid onError method
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:160:9)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629: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 (D:\a\undici\undici\lib\handler\decorator-handler.js:207:5)
at Request.onResponseStarted (D:\a\undici\undici\lib\core\request.js:233:46)
at ClientHttp2Stream.<anonymous> (D:\a\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:329:3)
at process.processTicksAndRejections (node:internal/process/task_queues:93:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
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] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at Object.onError (D:\a\undici\undici\test\client-timeout.js:200:11)
at DecoratorHandler.onError (D:\a\undici\undici\lib\handler\decorator-handler.js:199:28)
at Request.onError (D:\a\undici\undici\lib\core\request.js:300:27)
at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13)
at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:849:12)
at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24)
at Socket.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: SocketError: other side closed
at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24)
at Socket.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21),
expected: null,
operator: 'ifError'
}
}
|
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: 866
Suites 📂: 75
Passed ✅: 854
Failed ❌: 3
Canceled 🚫: 4
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 78980.364ms
|
Loading