SecondaryStorageVM state should be checked for it Up status
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/dfede8cd Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/dfede8cd Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/dfede8cd Branch: refs/heads/master Commit: dfede8cdeb0c9eb6ce6d7f03050fd0316c4b54a8 Parents: a887f8d Author: Prasanna Santhanam <t...@apache.org> Authored: Wed Jul 11 10:20:18 2012 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Wed Sep 12 18:48:31 2012 +0530 ---------------------------------------------------------------------- test/integration/smoke/test_secondary_storage.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/dfede8cd/test/integration/smoke/test_secondary_storage.py ---------------------------------------------------------------------- diff --git a/test/integration/smoke/test_secondary_storage.py b/test/integration/smoke/test_secondary_storage.py index c97a5c7..d38f020 100644 --- a/test/integration/smoke/test_secondary_storage.py +++ b/test/integration/smoke/test_secondary_storage.py @@ -200,7 +200,7 @@ class TestSecStorageServices(cloudstackTestCase): while True: list_hosts_response = list_hosts( self.apiclient, - type='SecondaryStorage', + type='SecondaryStorageVM', zoneid=self.zone.id, )