You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2013/08/01 13:13:52 UTC
git commit: updated refs/heads/4.2 to f064ad2
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 <ts...@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 <ts...@apache.org>
Authored: Thu Aug 1 16:42:28 2013 +0530
Committer: Prasanna Santhanam <ts...@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):