cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tall...@apache.org
Subject [5/5] git commit: updated refs/heads/4.5 to 9658569
Date Thu, 05 Feb 2015 12:06:28 GMT
CLOUDSTACK-8124: Skipping snapshot tests on Hyper-V

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>


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

Branch: refs/heads/4.5
Commit: 9658569f5ab15c528ebfe2b43bc02b43c297db85
Parents: 7627274
Author: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
Authored: Tue Jan 20 19:06:02 2015 +0530
Committer: SrikanteswaraRao Talluri <talluri@apache.org>
Committed: Thu Feb 5 17:36:11 2015 +0530

----------------------------------------------------------------------
 test/integration/component/test_snapshots.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9658569f/test/integration/component/test_snapshots.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_snapshots.py b/test/integration/component/test_snapshots.py
index 5b8cdc7..bb93d8d 100644
--- a/test/integration/component/test_snapshots.py
+++ b/test/integration/component/test_snapshots.py
@@ -249,6 +249,8 @@ class TestSnapshots(cloudstackTestCase):
     def test_02_snapshot_data_disk(self):
         """Test Snapshot Data Disk
         """
+        if self.hypervisor.lower() in ['hyperv']:
+            self.skipTest("Snapshots feature is not supported on Hyper-V")
 
         volume = list_volumes(
             self.apiclient,
@@ -318,6 +320,9 @@ class TestSnapshots(cloudstackTestCase):
         # 6. Mount/Attach volume to another virtual machine
         # 7. Compare data, data should match
 
+        if self.hypervisor.lower() in ['hyperv']:
+            self.skipTest("Snapshots feature is not supported on Hyper-V")
+
         random_data_0 = random_gen(size=100)
         random_data_1 = random_gen(size=100)
 
@@ -560,6 +565,9 @@ class TestSnapshots(cloudstackTestCase):
         # 3. Verify snapshot is removed by calling List Snapshots API
         # 4. Verify snapshot was removed from image store
 
+        if self.hypervisor.lower() in ['hyperv']:
+            self.skipTest("Snapshots feature is not supported on Hyper-V")
+
         self.debug("Creating volume under account: %s" % self.account.name)
         volume = Volume.create(
             self.apiclient,
@@ -635,6 +643,9 @@ class TestSnapshots(cloudstackTestCase):
         # 5. listSnapshots should list the snapshot that was created
         # 6. verify backup_snap_id was non null in the `snapshots` table
 
+        if self.hypervisor.lower() in ['hyperv']:
+            self.skipTest("Snapshots feature is not supported on Hyper-V")
+
         volumes = list_volumes(
             self.apiclient,
             virtualmachineid=self.virtual_machine.id,
@@ -765,6 +776,9 @@ class TestSnapshots(cloudstackTestCase):
         # 6. Compare data in the root disk with the one that was written on the
         # volume, it should match
 
+        if self.hypervisor.lower() in ['hyperv']:
+            self.skipTest("Snapshots feature is not supported on Hyper-V")
+
         userapiclient = self.testClient.getUserApiClient(
             UserName=self.account.name,
             DomainName=self.account.domain)


Mime
View raw message