[
https://issues.apache.org/jira/browse/CLOUDSTACK-8639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633208#comment-14633208
]
ASF subversion and git services commented on CLOUDSTACK-8639:
-------------------------------------------------------------
Commit b4006081623a447c172f77008d44678aac49adc8 in cloudstack's branch
refs/heads/master from nitt10prashant
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b400608 ]
CLOUDSTACK-8639:fixing calculation mistakes in
component/test_ss_domain_limits.py
This closes #595
> 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))
> expectedCount =self.templateSize
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)