Skip to content

Commit 02ebffe

Browse files
committed
attached volumes cannot be deleted on their own
1 parent 7164570 commit 02ebffe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/smoke/test_vm_life_cycle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,7 @@ def test_12_start_vm_multiple_volumes_allocated(self):
721721
)
722722
self.cleanup.append(volume) # Needs adjusting when changing tearDown to a super call, since it will try to delete an attached volume.
723723
VirtualMachine.attach_volume(vm, self.apiclient, volume)
724+
self.cleanup.remove(volume)
724725

725726
# Start the VM
726727
self.debug("Starting VM - ID: %s" % vm.id)

0 commit comments

Comments
 (0)