SecondaryStorage is always in Alert state. We need to check for SSVM.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ecfdb3af Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ecfdb3af Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ecfdb3af Branch: refs/heads/master Commit: ecfdb3af5cb99bcba11a33a7b5035296951a9424 Parents: e7e7085 Author: Prasanna Santhanam <t...@apache.org> Authored: Thu Jul 12 16:35:33 2012 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Wed Sep 12 18:48:31 2012 +0530 ---------------------------------------------------------------------- test/integration/component/test_resource_limits.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ecfdb3af/test/integration/component/test_resource_limits.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_resource_limits.py b/test/integration/component/test_resource_limits.py index 196bc83..8eb5568 100644 --- a/test/integration/component/test_resource_limits.py +++ b/test/integration/component/test_resource_limits.py @@ -1477,7 +1477,7 @@ class TestResources(cloudstackTestCase): sec_storages = Host.list( self.apiclient, zoneid=self.zone.id, - type='SecondaryStorage', + type='SecondaryStorageVM', listall=True ) self.assertEqual(