Skip to content

Commit 7a9d43e

Browse files
authored
test: fix listVolumes call for detach volume migration check (#4785)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 58a3f90 commit 7a9d43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/smoke/test_vm_life_cycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ def test_03_migrate_detached_volume(self):
13051305

13061306
Volume.migrate(self.apiclient, storageid=target_pool.id, volumeid=volume1.id)
13071307

1308-
vol = Volume.list(self.apiclient, volume=volume1.id)[0]
1308+
vol = Volume.list(self.apiclient, id=volume1.id)[0]
13091309

13101310
self.assertEqual(vol.storageid, target_pool.id, "Storage pool was not the same as expected")
13111311

0 commit comments

Comments
 (0)