Skip to content

Commit a98d01c

Browse files
author
Eugene Kornykhin
committed
fix absence of pytest kill in Cancel Test Run
1 parent f255bef commit a98d01c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/client/testing/testController/pytest/pytestExecutionAdapter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter {
246246
});
247247

248248
const result = execService?.execObservable(runArgs, spawnOptions);
249+
resultProc = result?.proc;
249250

250251
// Take all output from the subprocess and add it to the test output channel. This will be the pytest output.
251252
// Displays output to user and ensure the subprocess doesn't run into buffer overflow.

0 commit comments

Comments
 (0)