Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8639

fixing calculation mistakes in component/test_ss_domain_limits.py

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5.1
    • Fix Version/s: 4.5.1
    • Component/s: marvin
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              prashantkm prashant kumar mishra
              Reporter:
              prashantkm prashant kumar mishra
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: