Skip to content

Commit d1f375f

Browse files
authored
marvin: Refactor - cleanup of resource after test run (apache#5505)
1 parent 74bb806 commit d1f375f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/integration/smoke/test_snapshots.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def setUpClass(cls):
9797
mode=cls.services["mode"]
9898
)
9999

100+
cls._cleanup.append(cls.virtual_machine_with_disk)
100101
cls._cleanup.append(cls.service_offering)
101102
cls._cleanup.append(cls.account)
102103
cls._cleanup.append(cls.disk_offering)
@@ -251,8 +252,6 @@ def test_02_list_snapshots_with_removed_data_store(self):
251252
)
252253
assert isinstance(clusters,list) and len(clusters)>0
253254

254-
self.cleanup.append(self.virtual_machine_with_disk)
255-
256255
# Attach created volume to vm, then detach it to be able to migrate it
257256
self.virtual_machine_with_disk.stop(self.apiclient)
258257
self.virtual_machine_with_disk.attach_volume(

0 commit comments

Comments
 (0)