You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ek...@apache.org on 2015/06/10 22:49:51 UTC

[11/19] git commit: updated refs/heads/feature/vpc-ipv6 to c1b0900

CLOUDSTACK-8515: Skipping snapshot test cases on HyperV and LXC

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


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

Branch: refs/heads/feature/vpc-ipv6
Commit: 54a664730d97a5b91cf17b2c93cc68f7d5de1b4d
Parents: e3cfe89
Author: Gaurav Aradhye <ga...@clogeny.com>
Authored: Wed Jun 10 11:09:43 2015 +0530
Committer: Gaurav Aradhye <ga...@clogeny.com>
Committed: Wed Jun 10 16:11:34 2015 +0530

----------------------------------------------------------------------
 test/integration/testpaths/testpath_snapshot_limits.py | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/54a66473/test/integration/testpaths/testpath_snapshot_limits.py
----------------------------------------------------------------------
diff --git a/test/integration/testpaths/testpath_snapshot_limits.py b/test/integration/testpaths/testpath_snapshot_limits.py
index e30161d..946e5b0 100644
--- a/test/integration/testpaths/testpath_snapshot_limits.py
+++ b/test/integration/testpaths/testpath_snapshot_limits.py
@@ -56,6 +56,11 @@ class TestStorageSnapshotsLimits(cloudstackTestCase):
             cls.testdata["ostype"])
 
         cls._cleanup = []
+        cls.snapshotSupported = True
+
+        if cls.hypervisor.lower() in ["hyperv", "lxc"]:
+            cls.snapshotSupported = False
+            return
 
         try:
 
@@ -114,6 +119,9 @@ class TestStorageSnapshotsLimits(cloudstackTestCase):
         self.dbclient = self.testClient.getDbConnection()
         self.cleanup = []
 
+        if not self.snapshotSupported:
+            self.skipTest("Snapshots are not supported on %s" % self.hypervisor)
+
     def tearDown(self):
         try:
             cleanup_resources(self.apiclient, self.cleanup)