fix: refactor fast timers, fix UND_ERR_CONNECT_TIMEOUT on event loop blocking #14391
Annotations
6 errors and 1 notice
test/timers.js#L120
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
998 !== 1497
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
998 !== 1497
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/timers.js:120:7)
at runNextTicks (node:internal/process/task_queues:65:5)
at process.processTimers (node:internal/timers:526:9)
at async Test.run (node:internal/test_runner/test:879:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:590:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 998,
expected: 1497,
operator: 'strictEqual'
}
}
|
test/timers.js#L137
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'cancelledByParent',
cause: 'Promise resolution is still pending but the event loop has already resolved'
}
|
test/timers.js#L157
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'cancelledByParent',
cause: 'Promise resolution is still pending but the event loop has already resolved'
}
|
test/timers.js#L178
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'cancelledByParent',
cause: 'Promise resolution is still pending but the event loop has already resolved'
}
|
test/timers.js#L9
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'cancelledByParent',
cause: 'Promise resolution is still pending but the event loop has already resolved'
}
|
|
Error:: Test "a FastTimer will only increment by the defined TICK_MS value" at test/timers.js:104:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: 1100ms fired early" and would have caused the test to fail, but instead triggered an uncaughtException event.
Total Tests: 967
Suites 📂: 75
Passed ✅: 958
Failed ❌: 1
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 39685.939ms
|
The logs for this run have expired and are no longer available.
Loading