• Jérome Perrin's avatar
    test_slapproxy: Review test for migrations · 18c814a1
    Jérome Perrin authored
    Create a test for each previous versions to current version (starting
    from version 10, earlier versions are not really supported).
    
    Procedure to add test for new version can be:
     * update table structure and increase version in slapos/proxy/schema.sql
     * use generate_dump.sh script to generate
       slapos/tests/test_slapproxy/database_dump_version_$NEW_VERSION.sql
       from slapos/tests/test_slapproxy/database_dump_version_$PREVIOUS_VERSION.sql
       (with computer_id "computer")
     * add TestMigrateVersion$(NEW_VERSION)ToLatest in
       slapos/tests/test_slapproxy/__init__.py
     * use generate_dump.sh script to update in-place
       slapos/tests/test_slapproxy/database_dump_version_current.sql
       (with computer_id "slaprunner")
    18c814a1
Name
Last commit
Last update
documentation Loading commit data...
master Loading commit data...
slapos Loading commit data...
.gitignore Loading commit data...
CHANGES.rst Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
bootstrap.py Loading commit data...
buildout.cfg Loading commit data...
computer_definition.cfg.example Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
slapos-client.cfg.example Loading commit data...
slapos-proxy.cfg.example Loading commit data...
slapos.cfg.example Loading commit data...