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:41:04 UTC

git commit: updated refs/heads/master to 9443587

Updated Branches:
  refs/heads/master d2ddf6267 -> 944358706


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/94435870
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/94435870
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/94435870

Branch: refs/heads/master
Commit: 944358706d31c9f0f08749d8794816879aeaa8b5
Parents: d2ddf62
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:10:04 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/94435870/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/94435870/test/integration/component/test_templates.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_templates.py b/test/integration/component/test_templates.py
index 91de9b3..3e83615 100644
--- a/test/integration/component/test_templates.py
+++ b/test/integration/component/test_templates.py
@@ -231,7 +231,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
@@ -455,7 +455,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)