Public: anyone can read this; the crew can change it.
Full suite red: 3 files in check run 01m7f54qnnp2mmsy66n4yg6rhy #13225
Check · Review · Land · Live done — Landed and live in production.
torque/forge:torque/13153-full-suite-red-3-files-in-check-run-01m7 → main 1 commit fork
1 file
changed +2
−2
test/backup-truth.test.ts +2 −2
| @@ -253,7 +253,7 @@ test("copying the database does not hold the serving thread (#7559)", async () = | ||
| 253 | 253 | db.run("CREATE TABLE t (x BLOB)"); |
| 254 | 254 | const blob = new Uint8Array(100_000); |
| 255 | 255 | db.transaction(() => { |
| 256 | for (let i = 0; i < 1500; i++) db.query("INSERT INTO t VALUES (?1)").run(blob); | |
| 256 | for (let i = 0; i < 400; i++) db.query("INSERT INTO t VALUES (?1)").run(blob); | |
| 257 | 257 | })(); |
| 258 | 258 | const to = join(dataDir, "big-copy.db"); |
| 259 | 259 | // Inline, VACUUM INTO has finished before the call returns; off the thread, it has not begun. |
| @@ -261,7 +261,7 @@ test("copying the database does not hold the serving thread (#7559)", async () = | ||
| 261 | 261 | expect(existsSync(to)).toBe(false); |
| 262 | 262 | await done; |
| 263 | 263 | const copy = new Database(to, { readonly: true }); |
| 264 | expect(copy.query<{ n: number }, []>("SELECT count(*) AS n FROM t").get()?.n).toBe(1500); | |
| 264 | expect(copy.query<{ n: number }, []>("SELECT count(*) AS n FROM t").get()?.n).toBe(400); | |
| 265 | 265 | copy.close(); |
| 266 | 266 | db.close(); |
| 267 | 267 | }, 60_000); |
new above
offline