Repository: cloudstack Updated Branches: refs/heads/master e3cfe8905 -> 54a664730
CLOUDSTACK-8515: Skipping snapshot test cases on HyperV and LXC Signed-off-by: Gaurav Aradhye <gaurav.arad...@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/master Commit: 54a664730d97a5b91cf17b2c93cc68f7d5de1b4d Parents: e3cfe89 Author: Gaurav Aradhye <gaurav.arad...@clogeny.com> Authored: Wed Jun 10 11:09:43 2015 +0530 Committer: Gaurav Aradhye <gaurav.arad...@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)