]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Implement ModelsMigrationsSync test from oslo.db
authorAnn Kamyshnikova <akamyshnikova@mirantis.com>
Wed, 19 Feb 2014 11:39:19 +0000 (15:39 +0400)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Tue, 30 Sep 2014 07:55:06 +0000 (11:55 +0400)
commit5247f5cdf15bad4c62bbf854e30716fcf00a1d2a
treea88d3f187579064f7ddd63445a8589a95add2315
parent5c42552acfbcb1d7403e9ab6e2d7646b5d68fcc6
Implement ModelsMigrationsSync test from oslo.db

Add tests to verify that database migrations produce
the same schema as the database models.

Also for MySQL, check that all tables are configured to use InnoDB
as the storage engine.
These tests make use of the ModelsMigrationsSync test class from
oslo.db and the load_tests protocol from Python unittest.

Closes-bug: #1346444

Change-Id: Ic0e7eb37c30cc5e94cbdbddf07a6dc1ebf377c17
doc/source/devref/db_layer.rst
neutron/db/migration/alembic_migrations/env.py
neutron/db/migration/cli.py
neutron/tests/unit/db/test_migration.py [new file with mode: 0644]
test-requirements.txt