| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR restores initialization of the pytest subprocess handle in the pytest execution adapter so that “Cancel Test Run” can actually terminate an in-progress pytest run (regression described in #21507).
Changes:
| File | Description |
|---|---|
| src/client/testing/testController/pytest/pytestExecutionAdapter.ts | Restores tracking of the pytest child process so cancellation can attempt to kill it. |
Sorry, something went wrong.
…ents-pr-25932-update
Re-check the cancellation token after capturing the spawned process so cancellation in the registration-to-assignment window still terminates pytest. Add deterministic regression coverage for that race.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@microsoft-github-policy-service agree company="Ivannikov Institute for System Programming of the Russian Academy of Sciences, Moscow, Russia" |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #21507
Commit 354fcd6 has removed initialisation of resultProc variable. So cancelling can't kill pytest because resultProc is undefined. PR restores that initialisation.
Tested by click on 'Cancel Test Run'. Reaction on cancelling has appeared immediately.
Label: bug