Commit 2e4c3dbd authored by Jérome Perrin's avatar Jérome Perrin

tests: run testUpgradeInstanceWithOldDataFs with enable_full_indexing

In a real ERP5 actions, roles etc are all indexed, so it's more
realistic to simulate update with full indexing.
parent e6eab2c5
Pipeline #11154 failed with stage
in 0 seconds
...@@ -127,7 +127,11 @@ class ERP5(_ERP5): ...@@ -127,7 +127,11 @@ class ERP5(_ERP5):
shutil.copyfile(os.path.join(old_data_path, 'dump.sql'), shutil.copyfile(os.path.join(old_data_path, 'dump.sql'),
os.path.join(instance_home, 'dump.sql')) os.path.join(instance_home, 'dump.sql'))
return self.runUnitTest('--load', '--portal_id=erp5', full_test) return self.runUnitTest(
'--load',
'--portal_id=erp5',
'--enable_full_indexing=portal_types,portal_property_sheets',
full_test)
return super(ERP5, self).run(full_test) return super(ERP5, self).run(full_test)
......
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