chore: use testcontext for test:node-fetch #226
Annotations
4 errors and 6 notices
|
Test fetch
Process completed with exit code 1.
|
|
Test fetch:
test/fetch/cookies.js#L1
'test timed out after 180000ms'
|
|
Test fetch:
test/fetch/cookies.js#L63
TypeError [Error]: fetch failed
at /Users/runner/work/undici/undici/index.js:124:13
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/fetch/cookies.js:63:22)
at async Test.run (node:internal/test_runner/test:797:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:526:7) {
[cause]: Error [SocketError]: other side closed
at Socket.onHttpSocketEnd (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:891:22)
at Socket.emit (node:events:536:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'UND_ERR_SOCKET',
socket: { localAddress: '::1', localPort: 61966, remoteAddress: '::1', remotePort: 61963, remoteFamily: 'IPv6', timeout: undefined, bytesWritten: 424, bytesRead: 127 }
}
}
|
|
Test fetch:
test/fetch/cookies.js#L35
TypeError [Error]: fetch failed
at /Users/runner/work/undici/undici/index.js:124:13
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/fetch/cookies.js:35:22)
at async Test.run (node:internal/test_runner/test:797:9)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1135:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:526:7) {
[cause]: Error: read ETIMEDOUT
at TCP.onStreamRead (node:internal/stream_base_commons:218:20) {
errno: -60,
code: 'ETIMEDOUT',
syscall: 'read'
}
}
|
|
Test fetch
Total Tests: 409
Suites 📂: 20
Passed ✅: 404
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 2
Todo 📝: 0
Duration 🕐: 318407.029ms
|
|
Test interceptors
Total Tests: 189
Suites 📂: 2
Passed ✅: 188
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 17425.171ms
|
|
Test cache-interceptor
Total Tests: 46
Suites 📂: 5
Passed ✅: 37
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 9
Todo 📝: 0
Duration 🕐: 181.014ms
|
|
Test cache
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 140.785ms
|
|
Test node-fetch
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 2621.203ms
|
|
Test unit
Total Tests: 1188
Suites 📂: 122
Passed ✅: 1185
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 0
Duration 🕐: 62543.275ms
|
Loading