CLOUDSTACK-7351: Passing hypervisor type while deploying VM using ISO

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
Gaurav Aradhye 2014-09-10 16:38:19 +05:30 committed by SrikanteswaraRao Talluri
parent 8929d74519
commit 3411fbacca

View File

@ -770,6 +770,7 @@ class TestDeployHaEnabledVM(cloudstackTestCase):
self.apiclient = self.testClient.getApiClient()
self.dbclient = self.testClient.getDbConnection()
self.hypervisor = self.testClient.getHypervisorInfo()
self.services = Services().services
self.services["virtual_machine"]["zoneid"] = self.zone.id
self.services["virtual_machine"]["template"] = self.template.id
@ -851,7 +852,8 @@ class TestDeployHaEnabledVM(cloudstackTestCase):
templateid=self.iso.id,
serviceofferingid=self.service_offering.id,
diskofferingid=self.disk_offering.id,
startvm=True
startvm=True,
hypervisor=self.hypervisor
)
response = self.virtual_machine.getState(self.apiclient, VirtualMachine.RUNNING)