cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [2/2] git commit: updated refs/heads/master to 9ed5083
Date Tue, 20 Aug 2013 11:58:53 GMT
CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected
result in listStoragePool API call

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a9e45bf7766728c8439fcc0e3a1a6e3af074b2b7)


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

Branch: refs/heads/master
Commit: ed745d3489340eb0394264a379a22a10c76092b9
Parents: c1b1575
Author: Saksham Srivastava <saksham.srivastava@citrix.com>
Authored: Mon Aug 19 16:28:00 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Tue Aug 20 17:28:41 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/ed745d34/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" % (


Mime
View raw message