mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
testing: fix debug session tracking not working for n>1 test runs (#215476)
This commit is contained in:
parent
4e30f3ee15
commit
3eeefd2273
|
@ -441,11 +441,9 @@ export class ExtHostTesting extends Disposable implements ExtHostTestingShape {
|
|||
public getMetadataForRun(run: vscode.TestRun) {
|
||||
for (const tracker of this.runTracker.trackers) {
|
||||
const taskId = tracker.getTaskIdForRun(run);
|
||||
if (!taskId) {
|
||||
return undefined;
|
||||
if (taskId) {
|
||||
return { taskId, runId: tracker.id };
|
||||
}
|
||||
|
||||
return { taskId, runId: tracker.id };
|
||||
}
|
||||
|
||||
return undefined;
|
||||
|
|
Loading…
Reference in a new issue