diff --git a/test/cli-e2e/basic.test.ts b/test/cli-e2e/basic.test.ts index a8bc3a42a9..7677ca382d 100644 --- a/test/cli-e2e/basic.test.ts +++ b/test/cli-e2e/basic.test.ts @@ -70,7 +70,8 @@ describe('openspec CLI e2e basics', () => { const specs = await runCLI(['list', '--specs'], { cwd: cloneDir, env }); expect(specs.exitCode).toBe(0); expect(specs.stdout).toContain('No specs found.'); - }); + // Seven subprocesses (3 CLI, 4 git): ~2.6s on the Windows runner, past 10s under load. + }, 60_000); it('shows help output', async () => { const result = await runCLI(['--help']); diff --git a/test/update-flake-script.test.ts b/test/update-flake-script.test.ts index 130ffe80cc..cc5af2afec 100644 --- a/test/update-flake-script.test.ts +++ b/test/update-flake-script.test.ts @@ -105,7 +105,8 @@ describe('update-flake.sh confines every hash rewrite to the pnpmDeps block', () expect(updated).not.toContain(placeholder); fs.rmSync(dir, { recursive: true, force: true }); - }); + // Three `bash` spawns: 0.3s to 13s on the Windows runner depending on load. + }, 60_000); it('refuses to touch the file when no pnpmDeps hash is found', () => { expect(script).toContain('no pnpmDeps hash found in flake.nix');