mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5347: Resolved issue related to snapshot state
This commit is contained in:
parent
6b955958c6
commit
291eafadae
|
|
@ -905,10 +905,12 @@ class TestSnapshots(cloudstackTestCase):
|
|||
self.assertEqual(
|
||||
snapshot.state in [
|
||||
'BackedUp',
|
||||
'CreatedOnPrimary'
|
||||
'CreatedOnPrimary',
|
||||
'Allocated'
|
||||
],
|
||||
True,
|
||||
"Check Snapshot state is Running or not"
|
||||
"Check Snapshot state is in one of the mentioned possible states, \
|
||||
It is currently: %s" % snapshot.state
|
||||
)
|
||||
|
||||
snapshots = Snapshot.list(
|
||||
|
|
|
|||
Loading…
Reference in New Issue