From a587ad6100cbe56e6f5b4a2bb6b977aaae4b97d2 Mon Sep 17 00:00:00 2001 From: repeat98 Date: Wed, 14 Oct 2026 20:03:45 +0200 Subject: [PATCH] Give the Elekloader update CLI tests room to run on loaded CI Each case runs the real update CLI, up to 20 s per call, but vitest's default 5 s test timeout failed the first case on a loaded runner ("Test timed out in 5000ms") and so failed module-contract on PR #577. The catalogue now assembles from module records, which made the CLI a little slower and moved this case over the limit. Co-Authored-By: Claude Sonnet 5.5 --- src/tooling/elekloader-update.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tooling/elekloader-update.test.ts b/src/tooling/elekloader-update.test.ts index 9cc79ebe7..72b9545cd 100644 --- a/src/tooling/elekloader-update.test.ts +++ b/src/tooling/elekloader-update.test.ts @@ -204,7 +204,8 @@ function identities(root: string) { return Object.fromEntries(noticePaths.flatMap(path => Object.entries(fileBytes(join(root, path))).map(([name, data]) => [path + '/' + name, sha(data)]))) } -describe('elekloader update CLI', () => { +// Each case runs the real CLI, up to 20 s per call: vitest's 5 s default timed out on loaded CI runners. +describe('elekloader update CLI', { timeout: 60_000 }, () => { it('ships changed upstream notices and full licence terms, and keeps an identical update unchanged', () => { const root = fixture() try {