sqlite: support TypedArray and DataView in StatementSync
#59410
Annotations
2 errors and 1 notice
Test:
test/parallel/test-sqlite-typed-array.js#L46
--- stderr ---
(node:64422) ExperimentalWarning: SQLite is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
--- stdout ---
βΆ StatementSync with TypedArray
β Int8Array (7.837676ms)
β Uint8Array (4.336773ms)
β Uint8ClampedArray (4.059945ms)
β Int16Array (3.972863ms)
::debug::starting to run StatementSync with TypedArray
::debug::starting to run Int8Array
::debug::completed running Int8Array
::debug::starting to run Uint8Array
::debug::completed running Uint8Array
::debug::starting to run Uint8ClampedArray
::debug::completed running Uint8ClampedArray
::debug::starting to run Int16Array
::debug::completed running Int16Array
β Uint16Array (5.660974ms)
β Int32Array (4.283519ms)
β Uint32Array (4.804127ms)
β Float32Array (3.803875ms)
::debug::starting to run Uint16Array
::debug::completed running Uint16Array
::debug::starting to run Int32Array
::debug::completed running Int32Array
::debug::starting to run Uint32Array
::debug::completed running Uint32Array
::debug::starting to run Float32Array
::debug::completed running Float32Array
β Float64Array (4.43202ms)
β BigInt64Array (4.703208ms)
β BigUint64Array (3.591104ms)
β DataView (13.650415ms)
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
t.assert.ok(row.data instanceof Uint8Array)
at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-sqlite-typed-array.js:46:18)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:931:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1042:19)
at Test.run (node:internal/test_runner/test:970:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
::debug::starting to run Float64Array
::debug::completed running Float64Array
::debug::starting to run BigInt64Array
::debug::completed running BigInt64Array
::debug::starting to run BigUint64Array
::debug::completed running BigUint64Array
::debug::starting to run DataView
::error title=DataView,file=test/parallel/test-sqlite-typed-array.js,line=46,col=18::[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
t.assert.ok(row.data instanceof Uint8Array)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
t.assert.ok(row.data instanceof Uint8Array)
at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-sqlite-typed-array.js:46:18)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:931:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1042:19)
at Test.run (node:internal/test_runner/test:970:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
β StatementSync with TypedArray (67.484656ms)
βΉ tests 12
βΉ suites 1
βΉ pass 11
βΉ fail 1
βΉ cancelled 0
βΉ skipped 0
βΉ todo 0
βΉ duration_ms 207.074428
β failing tests:
test at test/parallel/test-sqlite-typed-array.js:33:5
β DataView (13.650415ms)
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
t.assert.ok(row.data instanceof Uint8Array)
at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-sqlite-typed-array.js:46:18)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:intern
|
Test
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading