Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E erp5-bin
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • erp5-bin
  • Merge requests
  • !5

Merged
Created Aug 03, 2020 by Jérome Perrin@jeromeOwner

testUpgradeInstanceWithOldDataFs: rebuild with more bt

  • Overview 7
  • Commits 1
  • Changes 2

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 Aug 03, 2020 by Jérome Perrin
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/dms_upgrade_error
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7