Skip to content

Commit b400608

Browse files
nitt10prashantsanjeev
authored andcommitted
CLOUDSTACK-8639:fixing calculation mistakes in component/test_ss_domain_limits.py
This closes #595
1 parent faaf6b1 commit b400608

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration/component/test_ss_domain_limits.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,9 @@ def test_04_create_template_delete_account(self):
559559
self.assertFalse(result[0], result[1])
560560
self.assertTrue(result[2], "Resource count does not match")
561561

562-
expectedCount *= 2
562+
self.templateSize = int((int(templates[0].size)*2) / (1024**3))
563+
564+
expectedCount = self.templateSize
563565
result = isDomainResourceCountEqualToExpectedCount(
564566
self.apiclient, self.parent_domain.id,
565567
expectedCount, RESOURCE_SECONDARY_STORAGE)

0 commit comments

Comments
 (0)