Skip to content

Commit 291eafa

Browse files
Gaurav AradhyeGirish Shilamkar
authored andcommitted
CLOUDSTACK-5347: Resolved issue related to snapshot state
1 parent 6b95595 commit 291eafa

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎test/integration/component/test_project_resources.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,10 +905,12 @@ def test_06_create_snapshots_in_project(self):
905905
self.assertEqual(
906906
snapshot.state in [
907907
'BackedUp',
908-
'CreatedOnPrimary'
908+
'CreatedOnPrimary',
909+
'Allocated'
909910
],
910911
True,
911-
"Check Snapshot state is Running or not"
912+
"Check Snapshot state is in one of the mentioned possible states, \
913+
It is currently: %s" % snapshot.state
912914
)
913915

914916
snapshots = Snapshot.list(

0 commit comments

Comments
 (0)