mirror of https://github.com/apache/cloudstack.git
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 <tsp@apache.org>
This commit is contained in:
parent
4a14ea8a4d
commit
6208a51283
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue