Updated Branches: refs/heads/4.3 e5047141a -> fd43fa13c
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/fd43fa13 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fd43fa13 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fd43fa13 Branch: refs/heads/4.3 Commit: fd43fa13c7d6d6d5add66a2b8ecd0927edad7b0f Parents: e504714 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:27 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/fd43fa13/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(
