Skip to content

Commit 53049fa

Browse files
authored
Merge pull request #10750 from microsoft/users/kavipriya/rftendgame153
RFT hard stop
2 parents 4b00a51 + ced1865 commit 53049fa

File tree

6 files changed

+6
-16
lines changed

6 files changed

+6
-16
lines changed

Tasks/DeployVisualStudioTestAgentV2/DeployTestAgent.ps1

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
[CmdletBinding()]
22
param()
33

4-
# Error out unless there is a workaround
5-
$supportrft = Get-VstsTaskVariable -Name 'RFTSupport' -AsBool
6-
if(-not $supportrft)
7-
{
8-
throw "This task and its companion task (Run Functional Tests) are now not supported. Use the 'Visual Studio Test' task instead. The VSTest task can run unit as well as functional tests. Run tests on one or more agents using the multi-agent phase setting. Use the 'Visual Studio Test Platform' task to run tests without needing Visual Studio on the agent. VSTest task also brings new capabilities such as automatically rerunning failed tests. Visit https://aka.ms/testingwithphases for more information."
9-
}
4+
throw "This task and its companion task (Run Functional Tests) are now not supported. Use the 'Visual Studio Test' task instead. The VSTest task can run unit as well as functional tests. Run tests on one or more agents using the multi-agent phase setting. Use the 'Visual Studio Test Platform' task to run tests without needing Visual Studio on the agent. VSTest task also brings new capabilities such as automatically rerunning failed tests. Visit https://aka.ms/testingwithphases for more information."
105

116
Trace-VstsEnteringInvocation $MyInvocation
127
Write-Warning "This task and it’s companion task (Run Functional Tests) are now deprecated and will stop working on 10-March-2019. Use the 'Visual Studio Test' task instead. The VSTest task can run unit as well as functional tests. Run tests on one or more agents using the multi-agent phase setting. Use the ‘Visual Studio Test Platform’ task to run tests without needing Visual Studio on the agent. VSTest task also brings new capabilities such as automatically rerunning failed tests. Visit https://aka.ms/testingwithphases for more information."

Tasks/DeployVisualStudioTestAgentV2/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 2,
16-
"Minor": 151,
16+
"Minor": 153,
1717
"Patch": 1
1818
},
1919
"deprecated": true,

Tasks/DeployVisualStudioTestAgentV2/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 2,
16-
"Minor": 151,
16+
"Minor": 153,
1717
"Patch": 1
1818
},
1919
"deprecated": true,

Tasks/RunDistributedTestsV1/RunDistributedTests.ps1

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,7 @@ $checkTestAgentCompatScriptLocationMemberExists = CmdletHasMember "CheckTestAge
183183
$checkCustomSlicingEnabledMemberExists = CmdletHasMember "CustomSlicingEnabled"
184184
$taskContextMemberExists = CmdletHasMember "TaskContext"
185185

186-
# Error out unless there is a workaround
187-
$supportrft = Get-TaskVariable -Context $distributedTaskContext -Name "RFTSupport"
188-
if ($supportrft -notlike 'true')
189-
{
190-
throw "This task and its companion task (Visual Studio Test Agent Deployment) are now not supported. Use the 'Visual Studio Test' task instead. The VSTest task can run unit as well as functional tests. Run tests on one or more agents using the multi-agent phase setting. Use the 'Visual Studio Test Platform' task to run tests without needing Visual Studio on the agent. VSTest task also brings new capabilities such as automatically rerunning failed tests. Visit https://aka.ms/testingwithphases for more information."
191-
}
186+
throw "This task and its companion task (Visual Studio Test Agent Deployment) are now not supported. Use the 'Visual Studio Test' task instead. The VSTest task can run unit as well as functional tests. Run tests on one or more agents using the multi-agent phase setting. Use the 'Visual Studio Test Platform' task to run tests without needing Visual Studio on the agent. VSTest task also brings new capabilities such as automatically rerunning failed tests. Visit https://aka.ms/testingwithphases for more information."
192187

193188
if($overrideRunParams -and $runSettingsFile -and (Test-Path $runSettingsFile))
194189
{

Tasks/RunDistributedTestsV1/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 151,
16+
"Minor": 153,
1717
"Patch": 1
1818
},
1919
"deprecated": true,

Tasks/RunDistributedTestsV1/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 151,
16+
"Minor": 153,
1717
"Patch": 1
1818
},
1919
"deprecated": true,

0 commit comments

Comments
 (0)