You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 00e03ab
Browse filesBrowse the repository at this point in the historyBrowse files
test: widen daemon_idle liveness window to de-flake under parallel load (#51)
daemon_idle_exits_after_last_client asserted is_process_alive 200ms after
client disconnect inside a 500ms idle window (~40% of the window). Under heavy
cargo test --workspace parallel load, scheduling drift could stretch that 200ms
observation past the idle window so the daemon had already idle-exited, flipping
alive_before_idle to false and panicking.
Widen the test's configured idle timeout 500 -> 2000ms so the 200ms liveness
observation is only 10% of the window (>1.5s margin), and bump wait_until_gone
8s -> 10s for headroom. Both assertions stay meaningful: alive-before-idle and
idle-exit-after. Sibling alive-asserting tests (daemon_stays_alive_with_active_client,
client_without_hello_is_never_swept) observe PAST their windows already (the safe
direction) and need no change. Test-only; no product code, daemon default, golden,
or version touched.
0 commit comments