33 строки
1.1 KiB
Plaintext
33 строки
1.1 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. Login to newly created VM.
|
|
2. Get swap disk information. (Execute-"swapon -s" on the VM)
|
|
3. Verify that swap should be disabled.
|
|
|
|
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-SWAP-CHECK</testName>
|
|
<testScript>BVT-SWAP-CHECK.py</testScript>
|
|
<testScriptPs1>BVT-SWAP-CHECK.ps1</testScriptPs1>
|
|
<files>remote-scripts\azuremodules.py,remote-scripts\BVT-SWAP-CHECK.py</files>
|
|
<setupType>BVTDeployment</setupType>
|
|
<TestType></TestType>
|
|
<TestFeature></TestFeature>
|
|
<TestID>AzureBVT_011</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 |