CLOUDSTACK-5802: Increased timeout for template state to become ready, improved assertion messages

This commit is contained in:
Ashutosh K 2014-01-08 11:10:04 +05:30 committed by Girish Shilamkar
parent 6580f88523
commit f561e126b2
2 changed files with 5 additions and 4 deletions

View File

@ -88,7 +88,7 @@ class Services:
},
"ostype": 'CentOS 5.3 (64-bit)',
# Cent OS 5.3 (64 bit)
"sleep": 60,
"sleep": 180,
}
@ -216,7 +216,7 @@ class TestTemplate(cloudstackTestCase):
self.assertEqual(
template_response.isready,
True,
"Check display text of newly created template"
"Template state is not ready, it is %s" % template_response.isready
)
# Deploy new virtual machine using template

View File

@ -232,7 +232,7 @@ class TestCreateTemplate(cloudstackTestCase):
self.assertEqual(
template_response.isready,
True,
"Check display text of newly created template"
"Template state is not ready, it is %s" % template_response.isready
)
# Deploy new virtual machine using template
@ -456,7 +456,8 @@ class TestTemplates(cloudstackTestCase):
self.assertEqual(
template_response.id,
self.template.id,
"Check display text of updated template"
"Template id %s in the list is not matching with created template id %s" %
(template_response.id, self.template.id)
)
self.debug("Deleting template: %s" % self.template)