test(cli): make integration synchronization deterministic #61

Merged
Lochnair merged 2 commits from test/cli-deterministic-synchronization into main 2026-08-10 16:21:01 +00:00
2 Commits
Author SHA1 Message Date
Nils Andreas Svee 78151ffccc docs(cli-tests): document why SIGINT gates on reply-sent, not consumed
continuous_single_target_interruption_drains_final_events_and_succeeds
intentionally allows SIGINT as soon as the fake server has sent its
reply, even if the managed client hasn't consumed it yet. The
echo_reply assertion is what proves shutdown drains a still-queued
reply instead of losing it; gating on client-side consumption would
remove the in-flight scenario the test exists to cover.
2026-08-10 23:19:40 +07:00
Nils Andreas Svee 99043444a1 test(cli): make integration synchronization deterministic 2026-08-10 23:13:18 +07:00