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 39BBD10FFD for ; Tue, 20 Aug 2013 11:59:04 +0000 (UTC) Received: (qmail 83534 invoked by uid 500); 20 Aug 2013 11:59:04 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 83513 invoked by uid 500); 20 Aug 2013 11:59:03 -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 83371 invoked by uid 99); 20 Aug 2013 11:59:03 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 11:59:03 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6A40A8C0766; Tue, 20 Aug 2013 11:59:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tsp@apache.org To: commits@cloudstack.apache.org Date: Tue, 20 Aug 2013 11:59:04 -0000 Message-Id: <54f8ad8b10b0497fa88c7c0b4e186f25@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: updated refs/heads/4.2 to a82f66e CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected result in listStoragePool API call Signed-off-by: Prasanna Santhanam Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a9e45bf7 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a9e45bf7 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a9e45bf7 Branch: refs/heads/4.2 Commit: a9e45bf7766728c8439fcc0e3a1a6e3af074b2b7 Parents: 319a7bf Author: Saksham Srivastava Authored: Mon Aug 19 16:28:00 2013 +0530 Committer: Prasanna Santhanam Committed: Tue Aug 20 17:24:56 2013 +0530 ---------------------------------------------------------------------- test/integration/component/test_storage_motion.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a9e45bf7/test/integration/component/test_storage_motion.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_storage_motion.py b/test/integration/component/test_storage_motion.py index eda77d1..8ddbebe 100644 --- a/test/integration/component/test_storage_motion.py +++ b/test/integration/component/test_storage_motion.py @@ -259,16 +259,8 @@ class TestStorageMotion(cloudstackTestCase): self.apiclient, id=volume.id ) - self.assertEqual( - isinstance(pools, list), - True, - "Check list storage pools response for valid list" - ) - self.assertNotEqual( - pools, - None, - "Check if pools exists in ListStoragePools" - ) + if not pools or pools is None: + self.skipTest("No suitable storage pools found for volume migration.Skipping") pool = pools[0] self.debug("Migrating Volume-ID: %s to Pool: %s" % (