diff --git a/Tasks/VsTestV2/runvstest.ts b/Tasks/VsTestV2/runvstest.ts index 46f40ecd8553..0fbaa60332cf 100644 --- a/Tasks/VsTestV2/runvstest.ts +++ b/Tasks/VsTestV2/runvstest.ts @@ -46,9 +46,12 @@ if (osPlat !== 'win32') { const inputDataContract = inputParser.parseInputsForNonDistributedTestRun(); if (inputDataContract.ExecutionSettings + && inputDataContract.ExecutionSettings.TiaSettings + && inputDataContract.ExecutionSettings.TiaSettings.Enabled) { + localtest.startTest(); + } else if (inputDataContract.ExecutionSettings && inputDataContract.ExecutionSettings.RerunSettings - && inputDataContract.ExecutionSettings.RerunSettings.RerunFailedTests - && (inputDataContract.ExecutionSettings.TiaSettings && !inputDataContract.ExecutionSettings.TiaSettings.Enabled)) { + && inputDataContract.ExecutionSettings.RerunSettings.RerunFailedTests) { nondistributedtest.runNonDistributedTest(inputDataContract); } else { localtest.startTest(); diff --git a/Tasks/VsTestV2/task.json b/Tasks/VsTestV2/task.json index 1a62ab161169..d8acc0a3ee2a 100644 --- a/Tasks/VsTestV2/task.json +++ b/Tasks/VsTestV2/task.json @@ -17,7 +17,7 @@ "version": { "Major": 2, "Minor": 137, - "Patch": 7 + "Patch": 8 }, "demands": [ "vstest" diff --git a/Tasks/VsTestV2/task.loc.json b/Tasks/VsTestV2/task.loc.json index 9ea9f32dd624..57ed84612f71 100644 --- a/Tasks/VsTestV2/task.loc.json +++ b/Tasks/VsTestV2/task.loc.json @@ -17,7 +17,7 @@ "version": { "Major": 2, "Minor": 137, - "Patch": 7 + "Patch": 8 }, "demands": [ "vstest"