This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.14
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.14 by this push:
new 7a9d43e test: fix listVolumes call for detach volume migration check
(#4785)
7a9d43e is described below
commit 7a9d43e95988b77a84cc671ea1b37c4b2873514d
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Mar 11 13:05:37 2021 +0530
test: fix listVolumes call for detach volume migration check (#4785)
Signed-off-by: Abhishek Kumar <[email protected]>
---
test/integration/smoke/test_vm_life_cycle.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integration/smoke/test_vm_life_cycle.py
b/test/integration/smoke/test_vm_life_cycle.py
index 3def053..2328a87 100644
--- a/test/integration/smoke/test_vm_life_cycle.py
+++ b/test/integration/smoke/test_vm_life_cycle.py
@@ -1305,7 +1305,7 @@ class TestMigrateVMwithVolume(cloudstackTestCase):
Volume.migrate(self.apiclient, storageid=target_pool.id,
volumeid=volume1.id)
- vol = Volume.list(self.apiclient, volume=volume1.id)[0]
+ vol = Volume.list(self.apiclient, id=volume1.id)[0]
self.assertEqual(vol.storageid, target_pool.id, "Storage pool was not
the same as expected")