Skip to content

Commit 6208a51

Browse files
author
Prasanna Santhanam
committed
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>
1 parent 4a14ea8 commit 6208a51

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/integration/smoke/test_volumes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,8 @@ def test_07_resize_fail(self):
591591

592592
if hosts[0].hypervisor == "XenServer":
593593
self.virtual_machine.stop(self.apiClient)
594+
elif hosts[0].hypervisor.lower() == "vmware":
595+
self.skipTest("Resize Volume is unsupported on VmWare")
594596

595597
self.apiClient.resizeVolume(cmd)
596598
count = 0
@@ -638,6 +640,9 @@ def test_08_resize_volume(self):
638640

639641
if hosts[0].hypervisor == "XenServer":
640642
self.virtual_machine.stop(self.apiClient)
643+
elif hosts[0].hypervisor.lower() == "vmware":
644+
self.skipTest("Resize Volume is unsupported on VmWare")
645+
641646
self.debug("Resize Volume ID: %s" % self.volume.id)
642647

643648
cmd = resizeVolume.resizeVolumeCmd()

0 commit comments

Comments
 (0)