Skip to content

testUpgradeInstanceWithOldDataFs: rebuild with more bt

Jérome Perrin requested to merge fix/dms_upgrade_error into master

Procedure to update was:

  1. edit bin/runUnitTest.real to change connection string to "erp5_test_0@erp5-catalog-0:2099 testuser_0 testpassword0"
  2. in erp5.git repo, checkout at d8961c5195a214ec1257cfea55762360cba06b14
  3. copy new testUpgradeInstanceWithOldDataFs.py in products/ERP5Type/tests
  4. run test with --save, with full indexing activated:
    ./bin/runUnitTest --portal_id=erp5 --enable_full_indexing=portal_types,portal_property_sheets --save testUpgradeInstanceWithOldDataFs
  1. copy files here
  2. rewrite with rewrite_data_fs.py
  3. rewrite the dump to keep compatibility with old mariadb (we might drop this at some point)
    sed -i -e s/utf8mb4/utf8/g dump.sql
Edited by Jérome Perrin

Merge request reports