зеркало из https://github.com/microsoft/lisa.git
Move VM override to common layer
This commit is contained in:
Родитель
808c87b0be
Коммит
33c15a72c2
|
@ -189,7 +189,6 @@ Function RunTestsOnCycle ($cycleName , $xmlConfig, $Distro, $TestIterations )
|
|||
}
|
||||
if ($currentTestData)
|
||||
{
|
||||
|
||||
if (!( $currentTestData.Platform.Contains($xmlConfig.config.CurrentTestPlatform)))
|
||||
{
|
||||
LogMsg "$($currentTestData.testName) does not support $($xmlConfig.config.CurrentTestPlatform) platform."
|
||||
|
@ -207,7 +206,7 @@ Function RunTestsOnCycle ($cycleName , $xmlConfig, $Distro, $TestIterations )
|
|||
$stopWatch = SetStopWatch
|
||||
|
||||
Set-Variable -Name currentTestData -Value $currentTestData -Scope Global
|
||||
|
||||
Set-Variable -Name OverrideVMSize -Value $currentTestData.OverrideVMSize -Scope Global
|
||||
if ((!$currentTestData.SubtestValues -and !$currentTestData.TestMode))
|
||||
{
|
||||
#Tests With No subtests and no SubValues will be executed here..
|
||||
|
|
|
@ -2,7 +2,6 @@ $result = ""
|
|||
$testResult = ""
|
||||
$resultArr = @()
|
||||
|
||||
Set-Variable -Name OverrideVMSize -Value $currentTestData.OverrideVMSize -Scope Global
|
||||
$isDeployed = DeployVMS -setupType $currentTestData.setupType -Distro $Distro -xmlConfig $xmlConfig
|
||||
if ($isDeployed)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче