lib: more cache fixes #15284
Annotations
5 errors and 4 notices
Run tests:
test/cache-interceptor/cache-stores.js#L276
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'on')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'on')
at readResponse (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:276:10)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:58:29)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:948:7)
at async startSubtest (node:internal/test_runner/harness:214:3),
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test/cache-interceptor/cache-stores.js#L276
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'on')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'on')
at readResponse (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:276:10)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:127:29)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test/cache-interceptor/cache-stores.js#L276
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'on')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'on')
at readResponse (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:276:10)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:197:29)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7),
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test/cache-interceptor/cache-stores.js#L239
[Error [ERR_TEST_FAILURE]: {
body: undefined,
response: undefined
} == undefined] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: {
body: undefined,
response: undefined
} == undefined
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-stores.js:239:3)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Test.processPendingSubtests (node:internal/test_runner/test:374:18)
at Suite.postRun (node:internal/test_runner/test:715:19)
at Suite.run (node:internal/test_runner/test:962:10)
at async startSubtest (node:internal/test_runner/harness:214:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: { response: undefined, body: undefined },
expected: undefined,
operator: '=='
},
code: 'ERR_TEST_FAILURE'
}
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 1029
Suites 📂: 78
Passed ✅: 1025
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 35478.340ms
|
Run tests
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3074.472ms
|
Run tests
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 129.216ms
|
Run tests
Total Tests: 17
Suites 📂: 3
Passed ✅: 13
Failed ❌: 4
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 85.163ms
|
Loading