You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@apache.org on 2014/01/08 06:42:11 UTC

git commit: updated refs/heads/4.3 to f561e12

Updated Branches:
  refs/heads/4.3 6580f8852 -> f561e126b


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


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f561e126
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f561e126
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f561e126

Branch: refs/heads/4.3
Commit: f561e126b29b38df3bbc533cc2ce6fb7e56514b9
Parents: 6580f88
Author: Ashutosh K <as...@clogeny.com>
Authored: Wed Jan 8 11:10:04 2014 +0530
Committer: Girish Shilamkar <gi...@clogeny.com>
Committed: Wed Jan 8 11:11:58 2014 +0530

----------------------------------------------------------------------
 test/integration/component/test_blocker_bugs.py | 4 ++--
 test/integration/component/test_templates.py    | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f561e126/test/integration/component/test_blocker_bugs.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_blocker_bugs.py b/test/integration/component/test_blocker_bugs.py
index 5488ddb..04a2656 100644
--- a/test/integration/component/test_blocker_bugs.py
+++ b/test/integration/component/test_blocker_bugs.py
@@ -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

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f561e126/test/integration/component/test_templates.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_templates.py b/test/integration/component/test_templates.py
index af86d32..04ec73b 100644
--- a/test/integration/component/test_templates.py
+++ b/test/integration/component/test_templates.py
@@ -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)