Updated Branches:
  refs/heads/4.2 11231d6b1 -> 454912d7b

CLOUDSTACK-5347: Resolved issue related to snapshot state


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/454912d7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/454912d7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/454912d7

Branch: refs/heads/4.2
Commit: 454912d7b2d36f4578d3355798c737f5adba827c
Parents: 11231d6
Author: Gaurav Aradhye <[email protected]>
Authored: Wed Dec 4 11:32:36 2013 +0530
Committer: Girish Shilamkar <[email protected]>
Committed: Wed Dec 4 11:33:44 2013 +0530

----------------------------------------------------------------------
 test/integration/component/test_project_resources.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/454912d7/test/integration/component/test_project_resources.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_project_resources.py 
b/test/integration/component/test_project_resources.py
index b7ed60e..1838269 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(

Reply via email to