Updated Branches: refs/heads/master 6b955958c -> 291eafada
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/291eafad Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/291eafad Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/291eafad Branch: refs/heads/master Commit: 291eafadaefc66ca030c26e0bbc78256ac8a8dbd Parents: 6b95595 Author: Gaurav Aradhye <[email protected]> Authored: Wed Dec 4 11:32:36 2013 +0530 Committer: Girish Shilamkar <[email protected]> Committed: Wed Dec 4 11:32:36 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/291eafad/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(
