prashant kumar mishra created CLOUDSTACK-8639:
-------------------------------------------------

             Summary: fixing calculation mistakes in 
component/test_ss_domain_limits.py
                 Key: CLOUDSTACK-8639
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8639
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: marvin
    Affects Versions: 4.5.1
            Reporter: prashant kumar mishra
            Assignee: prashant kumar mishra
             Fix For: 4.5.1


expectedCount=int(int(templates[0].size) / (1024**3))
expectedCount *= 2

if template[0].size is less that one GB  expectedCount will be 0

so expectedCount*=2  will not have any effect . 

fixing expectedCount calculation:

self.templateSize = int((int(templates[0].size)*2) / (1024**3))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to