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

fixing calculation mistakes in component/test_ss_domain_limits.py

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.5.1
    • 4.5.1
    • marvin
    • Security Level: Public (Anyone can view this level - this is the default.)
    • 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

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

            Dates

              Created:
              Updated: