From d120fe34f4d65971fbb3fef597545bb683d5ec70 Mon Sep 17 00:00:00 2001 From: Fredrik Ahlgren Date: Fri, 23 Oct 2026 16:17:01 +0200 Subject: [PATCH] test(escrow): give the read-timing test a minute on a busy runner It makes 800 timed reads on purpose and took 5.1 s on CI on 23 October 2026, past vitest's 5 s default, so it failed before measuring. Co-Authored-By: Claude Opus 5.5 --- .changeset/escrow-timing-timeout.md | 5 +++++ escrow/src/cost.test.ts | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/escrow-timing-timeout.md diff --git a/.changeset/escrow-timing-timeout.md b/.changeset/escrow-timing-timeout.md new file mode 100644 index 0000000..c2c60bc --- /dev/null +++ b/.changeset/escrow-timing-timeout.md @@ -0,0 +1,5 @@ +--- +"ftw-webapp": patch +--- + +The escrow timing test gets a minute to run, so a slow CI runner no longer cuts it off before it measures. diff --git a/escrow/src/cost.test.ts b/escrow/src/cost.test.ts index 741cf21..0042699 100644 --- a/escrow/src/cost.test.ts +++ b/escrow/src/cost.test.ts @@ -388,5 +388,7 @@ describe('and the clock agrees', () => { ratio, `medians in microseconds: ${medians.map((n) => (n / 1000).toFixed(1)).join(', ')} — a read tells the clock what its bucket holds` ).toBeLessThan(1.5) - }) + // 800 timed reads take seconds on a busy runner; vitest's 5 s default cut + // it off on 23 October 2026 with the ratio still unmeasured. + }, 60_000) })