diff --git a/test/integration/component/test_stopped_vm.py b/test/integration/component/test_stopped_vm.py index c845f608c34..41eeb46a95c 100644 --- a/test/integration/component/test_stopped_vm.py +++ b/test/integration/component/test_stopped_vm.py @@ -1697,9 +1697,7 @@ class TestUploadAttachVolume(cloudstackTestCase): 'Stopped', "Check VM state is Running or not" ) - with self.assertRaises(Exception): - virtual_machine.attach_volume(self.apiclient, volume) - self.debug("Failed to attach the volume as expected") + virtual_machine.attach_volume(self.apiclient, volume) return