You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ga...@apache.org on 2015/06/15 09:20:32 UTC

git commit: updated refs/heads/master to 019f246

Repository: cloudstack
Updated Branches:
  refs/heads/master 14d9c8236 -> 019f246b3


CLOUDSTACK-8555: Skip volume resize operation for HyperV as it's not
supported

Signed-off-by: Gaurav Aradhye <ga...@clogeny.com>
This closes #391


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

Branch: refs/heads/master
Commit: 019f246b351785a5846b653a637591b918e46f68
Parents: 14d9c82
Author: pritisarap12 <pr...@clogeny.com>
Authored: Fri Jun 12 14:25:49 2015 +0530
Committer: Gaurav Aradhye <ga...@clogeny.com>
Committed: Mon Jun 15 12:49:12 2015 +0530

----------------------------------------------------------------------
 test/integration/component/test_browse_volumes.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/019f246b/test/integration/component/test_browse_volumes.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_browse_volumes.py b/test/integration/component/test_browse_volumes.py
index edd13e7..4c15351 100644
--- a/test/integration/component/test_browse_volumes.py
+++ b/test/integration/component/test_browse_volumes.py
@@ -2065,7 +2065,8 @@ class TestBrowseUploadVolume(cloudstackTestCase):
 
             self.detach_volume(vm2details,browseup_vol.id)
 
-            self.resize_volume(browseup_vol.id)
+            if self.hypervisor.lower() != "hyperv":
+                self.resize_volume(browseup_vol.id)
 
             self.debug("========================= Test 7: Attach resized uploaded volume and validate VM operations========================= ")
 
@@ -2501,7 +2502,10 @@ class TestBrowseUploadVolume(cloudstackTestCase):
         self.debug("========================= Test 45 Detach  ,Resize,Attach  Browser_Upload_Volume after Migration =========================")
 
         self.detach_volume(vm2details,browseup_vol.id)
-        self.resize_volume(browseup_vol.id)
+
+        if self.hypervisor.lower() != "hyperv":
+            self.resize_volume(browseup_vol.id)
+
         self.attach_volume(vm2details,browseup_vol.id)
         self.vmoperations(vm2details)