sqlite: report zero changes for read-only statements #73140
Annotations
3 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-sqlite-transactions.js#L34
--- stdout ---
Test failure: 'a transaction is committed'
Location: test/parallel/test-sqlite-transactions.js:17:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ changes: 0,
+ lastInsertRowid: 0
- changes: 1,
- lastInsertRowid: 100
}
at assert.<computed> [as deepStrictEqual] (node:internal/test_runner/test:324:18)
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-sqlite-transactions.js:34:14)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1201:25)
at Test.start (node:internal/test_runner/test:1096:17)
at node:internal/test_runner/test:1617:71
at node:internal/per_context/primordials:466:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:435:3)
at node:internal/per_context/primordials:466:9 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Object],
expected: [Object],
operator: 'deepStrictEqual',
diff: 'simple'
}
Test failure: 'a transaction is rolled back'
Location: test/parallel/test-sqlite-transactions.js:44:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ changes: 0,
+ lastInsertRowid: 0
- changes: 1,
- lastInsertRowid: 100
}
at assert.<computed> [as deepStrictEqual] (node:internal/test_runner/test:324:18)
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-sqlite-transactions.js:61:14)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1201:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:831:18)
at Test.postRun (node:internal/test_runner/test:1330:19)
at Test.run (node:internal/test_runner/test:1258:12)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1619:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Object],
expected: [Object],
operator: 'deepStrictEqual',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-sqlite-transactions.js
|
|
test-macOS:
test/parallel/test-sqlite-statement-sync.js#L241
--- stdout ---
Test failure: 'executes a query and returns change metadata'
Location: test/parallel/test-sqlite-statement-sync.js:232:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ changes: 0,
+ lastInsertRowid: 0
- changes: 1,
- lastInsertRowid: 1
}
at assert.<computed> [as deepStrictEqual] (node:internal/test_runner/test:324:18)
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-sqlite-statement-sync.js:241:14)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1201:25)
at Test.start (node:internal/test_runner/test:1096:17)
at node:internal/test_runner/test:1617:71
at node:internal/per_context/primordials:466:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:435:3)
at node:internal/per_context/primordials:466:9 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Object],
expected: [Object],
operator: 'deepStrictEqual',
diff: 'simple'
}
Command: out/Release/node --expose-gc --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-sqlite-statement-sync.js
|
|
sccache stats
77% - 3752 hits, 1113 misses, 0 errors
|