32 строки
1.0 KiB
Plaintext
32 строки
1.0 KiB
Plaintext
Login on your Hyper-V server.
|
|
|
|
Start PowerShell with the Run As Administrator option.
|
|
|
|
Deploy VM's in Azure.
|
|
1. Create a hosted service.
|
|
2. Deploy a Virtual Machine in newly created hosted service.
|
|
|
|
Execute Test :
|
|
1. Turn of the Azure VM by using Stop-AzureVM (Powershell) command.
|
|
2. Verify that VM is shutdown successfully.
|
|
|
|
Cleanup the test VMs.
|
|
1. If test is PASS, delete all VMs under test.
|
|
2. If test is FAIL, collect the logs and preserve deployed VMs.
|
|
|
|
Edit the XML file used to drive the test
|
|
<test>
|
|
<testName>BVT-VERIFY-SHUTDOWN</testName>
|
|
<testScript></testScript>
|
|
<testScriptPs1>BVT-VERIFY-SHUTDOWN.ps1</testScriptPs1>
|
|
<files></files>
|
|
<setupType>BVTDeployment</setupType>
|
|
<TestType></TestType>
|
|
<TestFeature></TestFeature>
|
|
<TestID>AzureBVT_016</TestID>
|
|
</test>
|
|
|
|
Run the tests defined in the .xml file.
|
|
From the PowerShell command line, issue the following command:
|
|
Run all BVT tests:
|
|
.\AzureAutomationManager.ps1 -xmlConfigFile azure_ica_all.xml -runtests -Distro CentOS -cycleName BVT |