diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-23 06:14:39 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-29 11:43:05 -0500 |
| commit | bac01222853f6d63dce75cb4135cd375286d0057 (patch) | |
| tree | 1917ae990f310e2452d5afe51298bd9cdf001905 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | 9fd6f18fe395c176a36edbc8fd1744d2ef344c37 (diff) | |
launcher: a test that a Cancel before Started stops the process once it has
From the review of old upstream PR 4578: nothing tested the fix in `follow`, so removing it failed no test. tests/cancel.rs
starts a stand-in that would run for half a minute, as the launcher starts a command (its own process group;
a tree `taskkill /T` ends on Windows), presses Cancel while `running` has no pid yet and checks the stand-in runs
on, then sends `Process(Started(pid))` and checks it ends within 10 s.
With the fix's lines removed the test fails ("a Cancel before Started left the process running"); with them it
passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions