Public: anyone can read this; the crew can change it.

Full suite red: test/loop-stall.test.ts #12844

shipped production is serving it opened this has it

Landed in pull #12860 · run

opened this

_Filed by the scheduled full-suite report, not written by a person. It holds no pull, batch or release._

test/loop-stall.test.ts failed in the full suite on main (check run 01m7dp4w5mj2dsp13bjervc8q0, cb42fc8).

  • slow statements > a statement over the floor is logged with its SQL and the caller's stack; a fast one is not

slow statements > a statement over the floor is logged with its SQL and the caller's stack; a fast one is not failed: error: expect(received).toContain(expected)

63 |     const sqls = lines.map((l) => l.fields?.sql);
64 |     expect(lines.every((l) => l.message === "slow statement held the thread")).toBe(true);
65 |     expect(sqls).toContain("CREATE TABLE t (x INTEGER)");
66 |     expect(sqls).toContain("INSERT INTO t VALUES (?1)");
67 |     expect(sqls).toContain("SELECT x FROM t");
68 |     expect(sqls).toContain("BEGIN IMMEDIATE");
                      ^
error: expect(received).toContain(expected)

Expected to contain: "BEGIN IMMEDIATE"
Received: [ "CREATE TABLE t (x INTEGER)", "INSERT INTO t VALUES (?1)", "SELECT x FROM t", "SELECT 1" ]

      at <anonymous> (test/loop-stall.test.ts:68:18)
(fail) slow statements > a statement over the floor is logged with its SQL and the caller's stack; a fast one is not [4.23ms]

To reproduce:

bun test ./test/loop-stall.test.ts
bun test ./test/loop-stall.test.ts --rerun-each 10

The full suite ran it in shard 1861/3246, 4 files at a time.

Files: test/loop-stall.test.ts

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs