Skip to content

test: stabilize claude-driver process-group termination timing assertion #62

Description

@PANGKAIFENG

Problem

tests/unit/runner/claude-driver.test.ts intermittently fails on macOS in terminates the process group when output exceeds its limit.

Observed while verifying #56:

expected 1223 to be less than 1200

The complete suite also observed about 3304 ms under concurrent load. The calendar-layout branch does not touch runner/process termination code, and all calendar-focused tests pass.

Expected

Keep the behavioral assertion that the process group is terminated and gone, but replace the environment-sensitive wall-clock threshold with a stable bound or deterministic synchronization.

Scope

Track separately from #56; do not expand the calendar-layout MVP fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions