From 733d803d9b63c9d25d2f155718bf5467c6f79d09 Mon Sep 17 00:00:00 2001 From: Reflex Date: Thu, 9 Jul 2026 02:23:12 +0000 Subject: [PATCH] fix(smoketests): raise devbox snapshot test timeouts to 120s The two tests in the `devbox snapshots` suite hard-coded a 30s per-test timeout, overriding the 300s smoketest default in jest.config.ts. Under concurrent CI load, devbox create+snapshot tail latency exceeds 30s (measured up to ~22s at 30-way parallelism), causing flaky timeouts. Raise both to 120s for headroom while still failing fast on a genuine hang. Co-Authored-By: Claude Opus 4.8 --- tests/smoketests/snapshots.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/smoketests/snapshots.test.ts b/tests/smoketests/snapshots.test.ts index 3faf58e22..0b99f00f6 100644 --- a/tests/smoketests/snapshots.test.ts +++ b/tests/smoketests/snapshots.test.ts @@ -29,7 +29,7 @@ describe('smoketest: devbox snapshots', () => { await client.devboxes.shutdown(devbox.id); } } - }, 30_000); + }, 120_000); test('launch devbox from snapshot (deprecated polling path)', async () => { const warnSpy = jest.spyOn(console, 'warn').mockImplementation((...args: unknown[]) => { @@ -54,5 +54,5 @@ describe('smoketest: devbox snapshots', () => { await client.devboxes.shutdown(devbox.id); } } - }, 30_000); + }, 120_000); });