Commit 0b539231 authored by Sebastien Robin's avatar Sebastien Robin

parameter extra_sql_connection_string_list was not passed to runUnitTest

This is surely the source of random duplicate uid problems. Indeed,
some test like testERP5Catalog using default extra_sql_connection_string_list
provided by slapos were using same connection string as other running tests
parent 9447dec9
......@@ -213,7 +213,8 @@ class ERP5TypeTestSuite(TestSuite):
(instance_number-1) * self.mysql_db_count:
(instance_number) * self.mysql_db_count]
if len(mysql_db_list) > 1:
kw['extra_sql_connection_string_list'] = ','.join(mysql_db_list[1:])
args = ('--extra_sql_connection_string_list=%s' % \
','.join(mysql_db_list[1:]),) + args
try:
runUnitTest = os.environ.get('RUN_UNIT_TEST',
'runUnitTest')
......
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