mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3865: Additional debug logging for size mismatch
Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit 76764e115d311611096fd5df6ce849c12b22ed7f)
This commit is contained in:
parent
ec9a797b4c
commit
e8594a22ef
@ -25,7 +25,6 @@ from marvin.integration.lib.common import *
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.remoteSSHClient import remoteSSHClient
|
|
||||||
|
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
@ -720,7 +719,7 @@ class TestTemplates(cloudstackTestCase):
|
|||||||
cls.services["account"] = cls.account.name
|
cls.services["account"] = cls.account.name
|
||||||
cls.service_offering = ServiceOffering.create(
|
cls.service_offering = ServiceOffering.create(
|
||||||
cls.api_client,
|
cls.api_client,
|
||||||
cls.services["service_offering"]
|
cls.services["service_offering"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# create virtual machine
|
# create virtual machine
|
||||||
@ -888,13 +887,13 @@ class TestTemplates(cloudstackTestCase):
|
|||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
templates[0].size,
|
templates[0].size,
|
||||||
self.volume.size,
|
self.volume.size,
|
||||||
"Check if size of snapshot and template matches"
|
"Derived template size (%s) does not match snapshot size (%s)" % (templates[0].size, self.volume.size)
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
@attr(speed = "slow")
|
@attr(speed = "slow")
|
||||||
@attr(tags = ["advanced", "advancedns", "basic", "sg", "eip"])
|
@attr(tags = ["advanced", "advancedns", "basic", "sg", "eip"])
|
||||||
def test_03_resuse_template_name(self):
|
def test_03_reuse_template_name(self):
|
||||||
"""TS_BUG_011-Test Reusing deleted template name
|
"""TS_BUG_011-Test Reusing deleted template name
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user