Reviewed: https://review.openstack.org/355547 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=54aa6886f95165e391e081347b9286c2306d02ca Submitter: Jenkins Branch: master
commit 54aa6886f95165e391e081347b9286c2306d02ca Author: Ann Kamyshnikova <[email protected]> Date: Mon Aug 15 18:44:28 2016 +0300 Added tests for checking expand/contract branch upgrade Currently tests check only that "upgrade head" perfoms without errors. This change adds tests that will check that upgrade --expand/contract also working without errors for both MySQL and PostgreSQL. Also move test_branches and test_has_offline_migrations* to _TestModelsMigrations, so all subprojects will have this tests running for there directories as well. Closes-bug: #1613318 Change-Id: I3bff046ed83dd8ed21da20ab9e4331e95047e2b6 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1613318 Title: Separate alembic branch upgrades not tested in the gate Status in neutron: Fix Released Bug description: The devstack setup and neutron migration tests do not check separate alembic branch migrations. Thus we do not catch things like [1]. The test should ensure that the following succeeds: neutron-db-manage upgrade --expand neutron-db-manage upgrade --contract It should produce the same final schema as: neutron-db-manage upgrade heads We should add this check to the test_migrations so that all subprojects inherit it also. [1] https://launchpad.net/bugs/1613299 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1613318/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

