Commit 398ed4d0 authored by Romain Courteaud's avatar Romain Courteaud

MORE TESTS: increase upgrader timeout

parent b3bd0d68
......@@ -231,7 +231,7 @@ class testSlapOSMixin(ERP5TypeTestCase):
business_configuration,REQUEST=self.portal.REQUEST)
self.portal.portal_types.resetDynamicDocumentsOnceAtTransactionBoundary()
self.tic(verbose=True, delay=3600)
self.tic(verbose=True, delay=3600 * 2)
# Set post upgrade configurations for the tests
preference_tool = self.portal.portal_preferences.portal_preferences
......
  • I have a very minor suggestion if we merge this patch in master: we could write this as 2 * 60 * 60 # 2 hours or datetime.timedelta(hours=2).total_seconds(), because the 3600 * 2 arithmetic is not really clear ( I guess the history is "it's failing I will try with a twice longer timeout" 😉 )

    Edited by Jérome Perrin
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment