Commit 4aea3dd3 authored by Vincent Pelletier's avatar Vincent Pelletier

Products.ERP5Type.tests.ProcessingNodeTestCase: Extend default timeout.

Several tests are failing on test nodes with the chosen 100s timeout.
Increase it to 10 minutes. Longer, more exceptional, calls may benefit
from exposing this delay as a tic argument.
parent 96962f01
......@@ -280,7 +280,7 @@ class ProcessingNodeTestCase(ZopeTestCase.TestCase):
ZopeTestCase._print('Executing pending activities ...')
old_message_count = 0
start = time.time()
deadline = start + 100 # This prevents an infinite loop.
deadline = start + 600 # This prevents an infinite loop.
getMessageList = portal_activities.getMessageList
message_list = getMessageList()
message_count = len(message_list)
......
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