fix: Improve timeout handling during event loop lag #14239
Annotations
5 errors and 1 notice
test\request-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test\connect-timeout.js#L19
Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
false !== true
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
false !== true
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at D:\a\undici\undici\test\connect-timeout.js:19:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: 'strictEqual'
}
}
|
test\connect-timeout.js#L34
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'cancelledByParent',
cause: 'Promise resolution is still pending but the event loop has already resolved'
}
|
test\connect-timeout.js#L57
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'cancelledByParent',
cause: 'Promise resolution is still pending but the event loop has already resolved'
}
|
|
|
This job failed
Loading