mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5802: Increased timeout for template state to become ready, improved assertion messages
This commit is contained in:
parent
6580f88523
commit
f561e126b2
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue