cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/4.2 to f064ad2
Date Thu, 01 Aug 2013 11:13:52 GMT
Updated Branches:
  refs/heads/4.2 582e3a37a -> f064ad22d


CLOUDSTACK-3989: We don't hold the vm object

VirtualMachine.list( only gives the list of vms but not the vm object as
returned by VirtualMachine.create( any operations on the listed VMs then
fails. Explicit call to startVirtualMachine as in setUpClass fixes this.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


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

Branch: refs/heads/4.2
Commit: f064ad22dc55e0e5e7b5165f1864f2339d39b8f4
Parents: 582e3a3
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Thu Aug 1 16:42:28 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Thu Aug 1 16:42:28 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f064ad22/test/integration/component/test_vpc_network.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_vpc_network.py b/test/integration/component/test_vpc_network.py
index 03ff71e..4e6c02c 100644
--- a/test/integration/component/test_vpc_network.py
+++ b/test/integration/component/test_vpc_network.py
@@ -2283,7 +2283,9 @@ class TestVPCNetworkGc(cloudstackTestCase):
                                   )
         for vm in vms:
             if vm.state == "Stopped":
-                vm.start(self.apiclient)
+                cmd = startVirtualMachine.startVirtualMachineCmd()
+                cmd.id = vm.id
+                self.apiclient.startVirtualMachine(cmd)
         return
 
     def validate_vpc_offering(self, vpc_offering):


Mime
View raw message