test(gateway): raise module-graph import timeout for CI load robustness (#1138)
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
shaggy (mosaic-dev box)
2026-08-10 01:34:24 -05:00
parent 677aeb0c93
commit 406e40584d
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -42,7 +42,8 @@ interface ModuleGraphFixtureOptions {
setup?: (fixture: ModuleGraphFixture) => Promise<void>;
}
const MODULE_IMPORT_TIMEOUT_MS = 30_000;
// Each case uses vi.resetModules() and re-imports the full gateway graph for distinct ambient FS/env; CI needs headroom, while this still guards genuine hangs.
const MODULE_IMPORT_TIMEOUT_MS = 120_000;
const MONOREPO_ROOT_DOTENV_LABEL = 'monorepo-root .env';
const DAEMON_DOTENV_LABEL = 'daemon .env';