Commit 2015426c authored by Jérome Perrin's avatar Jérome Perrin

ProcessingNodeTestCase: wait a bit longer for other nodes

It was enough for 2 nodes, but with 4 nodes I sometimes saw errors.
parent 8f57da8f
...@@ -335,7 +335,7 @@ class ProcessingNodeTestCase(ZopeTestCase.TestCase): ...@@ -335,7 +335,7 @@ class ProcessingNodeTestCase(ZopeTestCase.TestCase):
This aborts current transaction. This aborts current transaction.
""" """
for i in xrange(30): for i in xrange(60):
node_list = list(self.portal.portal_activities.getProcessingNodeList()) node_list = list(self.portal.portal_activities.getProcessingNodeList())
if len(node_list) >= node_count: if len(node_list) >= node_count:
node_list.remove(getCurrentNode()) node_list.remove(getCurrentNode())
......
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