mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit 8762a0d0c6dde46e16b73f6880aa84ec2f359f55)
This commit is contained in:
parent
9100fe2ef9
commit
0454723f98
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user