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/06/07 08:01:26 UTC

git commit: updated refs/heads/master to 6208a51

Updated Branches:
  refs/heads/master 4a14ea8a4 -> 6208a5128


CLOUDSTACK-2889: Resize volume unsupported on vmware

Skip the tests if the VM deploys on a VmWare host since we do not
support resizing volumes on vmware (yet)

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/6208a512
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6208a512
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6208a512

Branch: refs/heads/master
Commit: 6208a51283bfdb401f76f042296c16304ee8f4e4
Parents: 4a14ea8
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Fri Jun 7 11:29:56 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Fri Jun 7 11:31:10 2013 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_volumes.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6208a512/test/integration/smoke/test_volumes.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_volumes.py b/test/integration/smoke/test_volumes.py
index d9c808a..7039c6f 100644
--- a/test/integration/smoke/test_volumes.py
+++ b/test/integration/smoke/test_volumes.py
@@ -591,6 +591,8 @@ class TestVolumes(cloudstackTestCase):
 
         if hosts[0].hypervisor == "XenServer":
             self.virtual_machine.stop(self.apiClient)
+        elif hosts[0].hypervisor.lower() == "vmware":
+            self.skipTest("Resize Volume is unsupported on VmWare")
 
         self.apiClient.resizeVolume(cmd)
         count = 0
@@ -638,6 +640,9 @@ class TestVolumes(cloudstackTestCase):
 
         if hosts[0].hypervisor == "XenServer":
             self.virtual_machine.stop(self.apiClient)
+        elif hosts[0].hypervisor.lower() == "vmware":
+            self.skipTest("Resize Volume is unsupported on VmWare")
+
         self.debug("Resize Volume ID: %s" % self.volume.id)
 
         cmd                = resizeVolume.resizeVolumeCmd()