mirror of https://github.com/apache/cloudstack.git
marvin: Refactor - cleanup of resource after test run (#5505)
This commit is contained in:
parent
74bb80687d
commit
d1f375f35a
|
|
@ -97,6 +97,7 @@ class TestSnapshotRootDisk(cloudstackTestCase):
|
|||
mode=cls.services["mode"]
|
||||
)
|
||||
|
||||
cls._cleanup.append(cls.virtual_machine_with_disk)
|
||||
cls._cleanup.append(cls.service_offering)
|
||||
cls._cleanup.append(cls.account)
|
||||
cls._cleanup.append(cls.disk_offering)
|
||||
|
|
@ -251,8 +252,6 @@ class TestSnapshotRootDisk(cloudstackTestCase):
|
|||
)
|
||||
assert isinstance(clusters,list) and len(clusters)>0
|
||||
|
||||
self.cleanup.append(self.virtual_machine_with_disk)
|
||||
|
||||
# Attach created volume to vm, then detach it to be able to migrate it
|
||||
self.virtual_machine_with_disk.stop(self.apiclient)
|
||||
self.virtual_machine_with_disk.attach_volume(
|
||||
|
|
|
|||
Loading…
Reference in New Issue