Skip to content

fix(policy-kit): increase timeout for generator tests that spawn child processes#700

Merged
jithinraj merged 3 commits intomainfrom
fix/policy-kit-generator-test-timeout
Apr 22, 2026
Merged

fix(policy-kit): increase timeout for generator tests that spawn child processes#700
jithinraj merged 3 commits intomainfrom
fix/policy-kit-generator-test-timeout

Conversation

@jithinraj
Copy link
Copy Markdown
Member

Summary

The generator.test.ts tests that call execSync('pnpm generate:profiles:check') and execSync('pnpm generate:profiles') were hitting the default 5000ms Vitest timeout on CI runners. Locally they complete in ~2.5s but cold CI runners with pnpm startup overhead exceed 5s.

Scope

  • Add { timeout: 30000 } to the two it blocks that spawn child processes in packages/policy-kit/tests/generator.test.ts.
  • No logic change.

Validation

Tests pass locally. 30s timeout is well above the worst-case CI runner cold-start time.

@jithinraj jithinraj merged commit 844ce8d into main Apr 22, 2026
20 checks passed
@jithinraj jithinraj deleted the fix/policy-kit-generator-test-timeout branch April 22, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant