• 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
..
cli Loading commit data...
collect Loading commit data...
grid Loading commit data...
manager Loading commit data...
proxy Loading commit data...
slap Loading commit data...
tests Loading commit data...
README.console.rst Loading commit data...
README.format.rst Loading commit data...
README.grid.rst Loading commit data...
README.manager.rst Loading commit data...
README.proxy.rst Loading commit data...
README.slap.rst Loading commit data...
__init__.py Loading commit data...
bang.py Loading commit data...
client.py Loading commit data...
format.py Loading commit data...
human.py Loading commit data...
slapos.xsd Loading commit data...
util.py Loading commit data...
version.py Loading commit data...