cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8639) fixing calculation mistakes in component/test_ss_domain_limits.py
Date Mon, 20 Jul 2015 09:13:05 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633209#comment-14633209
] 

ASF GitHub Bot commented on CLOUDSTACK-8639:
--------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cloudstack/pull/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)

Mime
View raw message