Tests for database migrations. This test case reads the configuration file test_migrations.conf for database connection settings to use in the tests. For each connection found in the config file, the test case runs a series of test cases to ensure that migrations work properly both upgrading and downgrading, and that no data loss occurs if possible.
Bases: nova.test.TestCase
Test sqlalchemy-migrate migrations
Test that migration 91 works correctly.
This test prevents regression of bugs 1052244 and 1052220.
Test that migration 98 runs
This test exists to prove bug 1047633 has been fixed
Test that we can trigger a mysql connection failure and we fail gracefully to ensure we don’t break people without mysql
Test that table creation on mysql only builds InnoDB tables
Walks all version scripts for each tested database, ensuring that there are no errors in the version scripts for each engine