cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [23/50] [abbrv] git commit: updated refs/heads/reporter to 3e1816d
Date Mon, 27 Jul 2015 08:43:11 GMT
CLOUDSTACK-8639:fixing calculation mistakes in component/test_ss_domain_limits.py
This closes #595


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

Branch: refs/heads/reporter
Commit: b4006081623a447c172f77008d44678aac49adc8
Parents: faaf6b1
Author: nitt10prashant <nitt10.prashant@gmail.com>
Authored: Wed Jul 15 18:33:00 2015 +0530
Committer: sanjeev <sanjeev@apache.org>
Committed: Mon Jul 20 14:41:52 2015 +0530

----------------------------------------------------------------------
 test/integration/component/test_ss_domain_limits.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b4006081/test/integration/component/test_ss_domain_limits.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_ss_domain_limits.py b/test/integration/component/test_ss_domain_limits.py
index 2591d2f..0d9138a 100644
--- a/test/integration/component/test_ss_domain_limits.py
+++ b/test/integration/component/test_ss_domain_limits.py
@@ -559,7 +559,9 @@ class TestDeleteAccount(cloudstackTestCase):
         self.assertFalse(result[0], result[1])
         self.assertTrue(result[2], "Resource count does not match")
 
-        expectedCount *= 2
+        self.templateSize = int((int(templates[0].size)*2) / (1024**3))
+
+        expectedCount = self.templateSize
         result = isDomainResourceCountEqualToExpectedCount(
                                     self.apiclient, self.parent_domain.id,
                                     expectedCount, RESOURCE_SECONDARY_STORAGE)


Mime
View raw message