mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8762a0d0c6)
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…
Reference in New Issue