spawn-test: bump timeout constants to avoid CI flakiness #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from PR #11 supervisor review (item 3).
The crashed/exited tests use 0.3–0.5 s timeouts, which can misfire on a slow CI runner where Python interpreter startup takes longer than expected (a subprocess that takes >300 ms to start would time out and be classified "ok" instead of "crashed"/"exited").
Fix: Bump the timeout argument in the non-"ok" spawn test cases from 0.3–0.5 s to 1–2 s. The "ok" (timeout) path can stay at 0.3 s since timing out means success there.
Relevant tests:
test_spawn_test_crashed,test_spawn_test_exited_cleanly,test_spawn_test_stderr_capturedintests/test_core.py.