Commit 66f65bd7 authored by Yusei Tahara's avatar Yusei Tahara

Fix test_115_TestSerializationTagSQLDictPreventsParallelExecution. Delete...

Fix test_115_TestSerializationTagSQLDictPreventsParallelExecution. Delete remaining activities at the end. This broke other test.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28705 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6a5894e5
......@@ -3409,6 +3409,7 @@ class TestCMFActivity(ERP5TypeTestCase):
offset=0,
count=1000)
try:
self.assertEqual(len([message
for message in result
if (message.processing_node>0 and
......@@ -3428,6 +3429,10 @@ class TestCMFActivity(ERP5TypeTestCase):
message.processing==1 and
message.serialization_tag=='')]),
1)
finally:
# Clear activities from all nodes
activity_tool.SQLDict_delMessage(uid=[message.uid for message in result])
get_transaction().commit()
def test_suite():
suite = unittest.TestSuite()
......
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