Move VM override to common layer

This commit is contained in:
Simon Xiao 2018-05-29 14:42:09 -07:00
Родитель 808c87b0be
Коммит 33c15a72c2
2 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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)
{