Cleanup websocket #13812
Annotations
7 errors and 10 notices
Run tests:
test/websocket/issue-2859.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
Run tests:
test/websocket/fragments.js#L31
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
+ Buffer(2) [Uint8Array] [
- Buffer(5) [Uint8Array] [
- 72,
- 101,
- 108,
108,
111
]
at process.emit (node:events:517:28)
at node:diagnostics_channel:144:11 {
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Buffer(2) [Uint8Array] [
- Buffer(5) [Uint8Array] [
- 72,
- 101,
- 108,
108,
111
]
at /home/runner/work/undici/undici/test/websocket/fragments.js:31:29
at Channel.publish (node:diagnostics_channel:141:9)
at ByteParser.parseControlFrame (/home/runner/work/undici/undici/lib/web/websocket/receiver.js:341:25)
at ByteParser.run (/home/runner/work/undici/undici/lib/web/websocket/receiver.js:178:29)
at ByteParser._write (/home/runner/work/undici/undici/lib/web/websocket/receiver.js:51:10)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at Socket.onSocketData (/home/runner/work/undici/undici/lib/web/websocket/connection.js:283:29)
at Socket.emit (node:events:517:28) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: <Buffer 6c 6f>,
expected: <Buffer 48 65 6c 6c 6f>,
operator: 'deepStrictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test/websocket/fragments.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
Run tests:
test/websocket/close-invalid-utf-8.js#L43
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
- {
- type: 'error'
- },
{
...
type: 'close'
}
]] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
- {
- type: 'error'
- },
{
...
type: 'close'
}
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/websocket/close-invalid-utf-8.js:43:10)
at async Test.run (node:internal/test_runner/test:632:9)
at async startSubtest (node:internal/test_runner/harness:214:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ [Object] ],
expected: [ [Object], [Object] ],
operator: 'deepStrictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test/websocket/close-invalid-utf-8.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
Run tests:
test/websocket/close-invalid-status-code.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 957
Suites 📂: 76
Passed ✅: 953
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 27673.748ms
|
Run tests
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3035.495ms
|
Run tests
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 133.147ms
|
Run tests
Total Tests: 73
Suites 📂: 0
Passed ✅: 73
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 6279.971ms
|
Run tests
Total Tests: 365
Suites 📂: 12
Passed ✅: 363
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 2
Todo 📝: 0
Duration 🕐: 30310.985ms
|
Run tests
Total Tests: 18
Suites 📂: 4
Passed ✅: 18
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 158.560ms
|
Run tests
Total Tests: 1
Suites 📂: 1
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 144.815ms
|
Run tests
Total Tests: 66
Suites 📂: 6
Passed ✅: 66
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 1480.938ms
|
Run tests
Total Tests: 95
Suites 📂: 16
Passed ✅: 95
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 11026.117ms
|
Run tests
Total Tests: 74
Suites 📂: 12
Passed ✅: 68
Failed ❌: 2
Canceled 🚫: 4
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 60631.139ms
|
Loading