[Erp5-report] r38590 ivan - /erp5/trunk/products/ERP5OOo/tests/testDms.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 23 14:13:04 CEST 2010


Author: ivan
Date: Thu Sep 23 14:12:56 2010
New Revision: 38590

URL: http://svn.erp5.org?rev=38590&view=rev
Log:
Increase time for converting OOoDocument -> PDF -> Image to more reasonable value so we do not get false test failures and still make sure it happens in somehow acceptable time (it's cached after first calculation).

Modified:
    erp5/trunk/products/ERP5OOo/tests/testDms.py

Modified: erp5/trunk/products/ERP5OOo/tests/testDms.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testDms.py?rev=38590&r1=38589&r2=38590&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] Thu Sep 23 14:12:56 2010
@@ -2201,7 +2201,7 @@ class TestDocumentPerformance(TestDocume
     after = time.time()
     req_time = (after - before)
     # we should have image converted in less than 20s
-    self.assertTrue(req_time < 20.0)
+    self.assertTrue(req_time < 30.0)
     
 def test_suite():
   suite = unittest.TestSuite()




More information about the Erp5-report mailing list