cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanj...@apache.org
Subject git commit: updated refs/heads/master to 8567701
Date Tue, 16 Sep 2014 06:30:08 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 1b14fa6ab -> 8567701f0


CLOUDSTACK-7552: In hyper-v additional data disks will be mapped to /dev/sdb
Made changes to test_volumes.py accordingly


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

Branch: refs/heads/master
Commit: 8567701f07a3bf43a4f7532745e967d029229589
Parents: 1b14fa6
Author: sanjeev <sanjeev@apache.org>
Authored: Tue Sep 16 11:56:01 2014 +0530
Committer: sanjeev <sanjeev@apache.org>
Committed: Tue Sep 16 11:59:12 2014 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_volumes.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8567701f/test/integration/smoke/test_volumes.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_volumes.py b/test/integration/smoke/test_volumes.py
index 1e429ec..a638799 100644
--- a/test/integration/smoke/test_volumes.py
+++ b/test/integration/smoke/test_volumes.py
@@ -31,7 +31,7 @@ from marvin.lib.base import (ServiceOffering,
                              Volume,
                              Host,
                              DiskOffering,
-                             StoragePool)
+                             StoragePool,)
 from marvin.lib.common import (get_domain,
                                 get_zone,
                                 get_template)
@@ -228,6 +228,8 @@ class TestCreateVolume(cloudstackTestCase):
                 volume_name = "/dev/vd" + chr(ord('a') + int(list_volume_response[0].deviceid))
                 self.debug(" Using KVM volume_name: %s" % (volume_name))
                 ret = checkVolumeSize(ssh_handle=ssh,volume_name=volume_name,size_to_verify=vol_sz)
+            elif list_volume_response[0].hypervisor.lower() == "hyperv":
+                ret = checkVolumeSize(ssh_handle=ssh,volume_name="/dev/sdb",size_to_verify=vol_sz)
             else:
                 ret = checkVolumeSize(ssh_handle=ssh,size_to_verify=vol_sz)
             self.debug(" Volume Size Expected %s  Actual :%s" %(vol_sz,ret[1]))


Mime
View raw message