diff options
| author | Boris Pavlovic <boris@pavlovic.me> | 2013-05-13 14:57:04 +0400 |
|---|---|---|
| committer | Boris Pavlovic <boris@pavlovic.me> | 2013-05-24 14:57:45 +0400 |
| commit | 3f2f118fa4c03d9e120918afdc59472dedf9a02e (patch) | |
| tree | 612fd6b33b65069e771e20ef0c127f72dddf70dc /nova/tests | |
| parent | 356782e040ad3a7b328258fa24398a4590c657ed (diff) | |
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
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_migrations.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/tests/test_migrations.py b/nova/tests/test_migrations.py index d78928790..da9e293a4 100644 --- a/nova/tests/test_migrations.py +++ b/nova/tests/test_migrations.py @@ -1332,6 +1332,9 @@ class TestNovaMigrations(BaseMigrationTestCase, CommonTestsMixIn): self.assertTrue(db_utils.check_shadow_table(engine, "volume_usage_cache")) + def _check_181(self, engine, data): + self.assertTrue(db_utils.check_shadow_table(engine, 'cells')) + class TestBaremetalMigrations(BaseMigrationTestCase, CommonTestsMixIn): """Test sqlalchemy-migrate migrations.""" |
