commit 079c6ad6c911226251fa2a601a27296cfe15e0b3
Author: Henry Nash <email address hidden>
Date: Sun Sep 28 11:16:26 2014 +0100
Ensure sql upgrade tests can run with non-sqlite databases.
This patch fixes the issues that were preventing the running of
live sql upgrade tests (either by running test_sql_upgrade directly
or via test_sql_livetest), namely:
- Dropping the tables that were in existence before the current
scope of migration in an order that is FK friendly
- Fixing an issue where the tables were being dropped in the
wrong order in the downgrade of federation
- Ensuring we don't hold sessions open over upgrade/downgrade
steps in our test methods
Reviewed: https:/ /review. openstack. org/126314 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=079c6ad6c91 1226251fa2a601a 27296cfe15e0b3
Committed: https:/
Submitter: Jenkins
Branch: proposed/juno
commit 079c6ad6c911226 251fa2a601a2729 6cfe15e0b3
Author: Henry Nash <email address hidden>
Date: Sun Sep 28 11:16:26 2014 +0100
Ensure sql upgrade tests can run with non-sqlite databases.
This patch fixes the issues that were preventing the running of
live sql upgrade tests (either by running test_sql_upgrade directly
or via test_sql_livetest), namely:
- Dropping the tables that were in existence before the current
scope of migration in an order that is FK friendly
- Fixing an issue where the tables were being dropped in the
wrong order in the downgrade of federation
- Ensuring we don't hold sessions open over upgrade/downgrade
steps in our test methods
Limitations:
- This patch has not been tested with DB2
Closes-Bug: 1363047 bc6f2ddcdc8a380 ea55b2a9634
Closes-Bug: 1375937
Change-Id: Ied4741a9646b57