Repository: cloudstack
Updated Branches:
  refs/heads/master 8929d7451 -> 3411fbacc


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

Signed-off-by: SrikanteswaraRao Talluri <tall...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3411fbac
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3411fbac
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3411fbac

Branch: refs/heads/master
Commit: 3411fbaccafbce8f99af4714a26f38a2c17d8a9e
Parents: 8929d74
Author: Gaurav Aradhye <gaurav.arad...@clogeny.com>
Authored: Wed Sep 10 16:38:19 2014 +0530
Committer: SrikanteswaraRao Talluri <tall...@apache.org>
Committed: Wed Sep 10 18:17:51 2014 +0530

----------------------------------------------------------------------
 test/integration/component/test_stopped_vm.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3411fbac/test/integration/component/test_stopped_vm.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_stopped_vm.py 
b/test/integration/component/test_stopped_vm.py
index 65b9767..1a928cc 100644
--- a/test/integration/component/test_stopped_vm.py
+++ b/test/integration/component/test_stopped_vm.py
@@ -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)

Reply via email to