mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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)
This commit is contained in:
parent
c1b157565c
commit
ed745d3489
@ -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" % (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user