Commit 9f8c1492 authored by Julien Muchembled's avatar Julien Muchembled

Fix random failure of testConflictResolution.TestERP5.testActiveProcess

parent 77f9030e
...@@ -119,6 +119,8 @@ class TestERP5(ERP5TypeTestCase): ...@@ -119,6 +119,8 @@ class TestERP5(ERP5TypeTestCase):
active_process = self.portal.portal_activities.newActiveProcess() active_process = self.portal.portal_activities.newActiveProcess()
self.commit() self.commit()
remote = self.other_node remote = self.other_node
remote.getId() # force storage sync of remote ZODB connection
# (see also Products.ERP5Type.patches.ZODBConnection)
for id in active_process.getRelativeUrl().split('/'): for id in active_process.getRelativeUrl().split('/'):
remote = getattr(remote, id) remote = getattr(remote, id)
for x in xrange(100): for x in xrange(100):
......
4 5
\ No newline at end of file \ No newline at end of file
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