Skip to content

Commit f561e12

Browse files
Ashutosh KGirish Shilamkar
authored andcommitted
CLOUDSTACK-5802: Increased timeout for template state to become ready, improved assertion messages
1 parent 6580f88 commit f561e12

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎test/integration/component/test_blocker_bugs.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(self):
8888
},
8989
"ostype": 'CentOS 5.3 (64-bit)',
9090
# Cent OS 5.3 (64 bit)
91-
"sleep": 60,
91+
"sleep": 180,
9292
}
9393

9494

@@ -216,7 +216,7 @@ def test_01_create_template(self):
216216
self.assertEqual(
217217
template_response.isready,
218218
True,
219-
"Check display text of newly created template"
219+
"Template state is not ready, it is %s" % template_response.isready
220220
)
221221

222222
# Deploy new virtual machine using template

‎test/integration/component/test_templates.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def test_01_create_template(self):
232232
self.assertEqual(
233233
template_response.isready,
234234
True,
235-
"Check display text of newly created template"
235+
"Template state is not ready, it is %s" % template_response.isready
236236
)
237237

238238
# Deploy new virtual machine using template
@@ -456,7 +456,8 @@ def test_03_delete_template(self):
456456
self.assertEqual(
457457
template_response.id,
458458
self.template.id,
459-
"Check display text of updated template"
459+
"Template id %s in the list is not matching with created template id %s" %
460+
(template_response.id, self.template.id)
460461
)
461462

462463
self.debug("Deleting template: %s" % self.template)

0 commit comments

Comments
 (0)