From dbbb1a35f1fc7d36ae5ad8564e1604d4e35e3786 Mon Sep 17 00:00:00 2001 From: Lampir <37238543+mLampir@users.noreply.github.com> Date: Wed, 21 Oct 2026 10:26:12 +0000 Subject: [PATCH] Give the server tests more time than the default 5 seconds Sign-ins hash the password with scrypt, so the sign-in tests take several seconds on a slow CI runner. One of them timed out in the CI run for the docker/login-action update although nothing it tests had changed. Co-Authored-By: Claude Opus 5.5 (1M context) --- packages/server/vitest.config.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/server/vitest.config.ts diff --git a/packages/server/vitest.config.ts b/packages/server/vitest.config.ts new file mode 100644 index 0000000..701a2f6 --- /dev/null +++ b/packages/server/vitest.config.ts @@ -0,0 +1,9 @@ +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + // Every sign-in hashes the password with scrypt on purpose, so tests that sign in several + // times take seconds on a busy CI runner and would trip the default timeout of 5 seconds. + testTimeout: 30_000, + }, +});