Added a mandatory reboot to provision test.
This commit is contained in:
Родитель
c51a4793b6
Коммит
f76f67acb2
|
@ -11,8 +11,17 @@ if ($isDeployed)
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
LogMsg "Test Result : PASS."
|
$RestartStatus = RestartAllDeployments -allVMData $allVMData
|
||||||
$testResult = "PASS"
|
if($RestartStatus -eq "True")
|
||||||
|
{
|
||||||
|
LogMsg "Test Result : PASS."
|
||||||
|
$testResult = "PASS"
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
LogMsg "Test Result : FAIL."
|
||||||
|
$testResult = "FAIL"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
catch
|
catch
|
||||||
|
|
Загрузка…
Ссылка в новой задаче