Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7DA1189F1 for ; Wed, 10 Jun 2015 20:49:44 +0000 (UTC) Received: (qmail 29432 invoked by uid 500); 10 Jun 2015 20:49:42 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 29357 invoked by uid 500); 10 Jun 2015 20:49:42 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 28838 invoked by uid 99); 10 Jun 2015 20:49:42 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 20:49:42 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 208A7E04E6; Wed, 10 Jun 2015 20:49:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ekho@apache.org To: commits@cloudstack.apache.org Date: Wed, 10 Jun 2015 20:49:51 -0000 Message-Id: In-Reply-To: <933e594c03724bf4819ee89b11b086d4@git.apache.org> References: <933e594c03724bf4819ee89b11b086d4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [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 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 Authored: Wed Jun 10 11:09:43 2015 +0530 Committer: Gaurav Aradhye 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)