mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7284: Fixed regression issue in test_escalations_instances.py
This commit is contained in:
parent
3b5aa42c6d
commit
5f893daa2c
@ -2635,9 +2635,11 @@ class TestInstances(cloudstackTestCase):
|
|||||||
# stopping VM before detaching volumes
|
# stopping VM before detaching volumes
|
||||||
vm_created.stop(self.userapiclient)
|
vm_created.stop(self.userapiclient)
|
||||||
|
|
||||||
# Detaching all the volumes attached from VM
|
# Detaching root volume is allowed on XenServer only
|
||||||
for i in range(0, len(list_volumes_page1)):
|
if self.hypervisor.lower() == 'xenserver':
|
||||||
vm_created.detach_volume(
|
# Detaching all the volumes attached from VM
|
||||||
|
for i in range(0, len(list_volumes_page1)):
|
||||||
|
vm_created.detach_volume(
|
||||||
self.userapiclient,
|
self.userapiclient,
|
||||||
list_volumes_page1[i]
|
list_volumes_page1[i]
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user