Sync shadow table for 179 migration
To be able to use db archiving our table and shadow table should have the same columns. fixes bug 1179497 Change-Id: I001f31a5efa07c80acd1ad513369456fb8c3cb44
This commit is contained in:
@@ -1332,6 +1332,9 @@ class TestNovaMigrations(BaseMigrationTestCase, CommonTestsMixIn):
|
|||||||
self.assertTrue(db_utils.check_shadow_table(engine,
|
self.assertTrue(db_utils.check_shadow_table(engine,
|
||||||
"volume_usage_cache"))
|
"volume_usage_cache"))
|
||||||
|
|
||||||
|
def _check_181(self, engine, data):
|
||||||
|
self.assertTrue(db_utils.check_shadow_table(engine, 'cells'))
|
||||||
|
|
||||||
|
|
||||||
class TestBaremetalMigrations(BaseMigrationTestCase, CommonTestsMixIn):
|
class TestBaremetalMigrations(BaseMigrationTestCase, CommonTestsMixIn):
|
||||||
"""Test sqlalchemy-migrate migrations."""
|
"""Test sqlalchemy-migrate migrations."""
|
||||||
|
|||||||
Reference in New Issue
Block a user