From 291eafadaefc66ca030c26e0bbc78256ac8a8dbd Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Wed, 4 Dec 2013 11:32:36 +0530 Subject: [PATCH] CLOUDSTACK-5347: Resolved issue related to snapshot state --- test/integration/component/test_project_resources.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/integration/component/test_project_resources.py b/test/integration/component/test_project_resources.py index b7ed60edf11..18382690b90 100644 --- a/test/integration/component/test_project_resources.py +++ b/test/integration/component/test_project_resources.py @@ -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(