summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-05-29 16:50:56 +0000
committerGerrit Code Review <review@openstack.org>2013-05-29 16:50:56 +0000
commit303ff401705a3605fa85a94ea70c8615e787f150 (patch)
treec03cdbffb2b07150b98f3f1e6b93645f81741c4b /nova/tests
parent18b04902410bb86b74cbe37970c58f2880114264 (diff)
parent3718d3907893f43951781ae345ba0680479437f3 (diff)
Merge "Sync shadow table for 159 migration"
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_migrations.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/nova/tests/test_migrations.py b/nova/tests/test_migrations.py
index 0b7e361f4..00cfdbf6c 100644
--- a/nova/tests/test_migrations.py
+++ b/nova/tests/test_migrations.py
@@ -1408,6 +1408,13 @@ class TestNovaMigrations(BaseMigrationTestCase, CommonTestsMixIn):
table_name = 'security_group_default_rules'
self.assertTrue(db_utils.check_shadow_table(engine, table_name))
+ def _check_184(self, engine, data):
+ self.assertTrue(db_utils.check_shadow_table(engine, 'instances'))
+ self.assertTrue(db_utils.check_shadow_table(engine, 'networks'))
+ self.assertTrue(db_utils.check_shadow_table(engine, 'fixed_ips'))
+ self.assertTrue(db_utils.check_shadow_table(engine, 'floating_ips'))
+ self.assertTrue(db_utils.check_shadow_table(engine, 'console_pools'))
+
class TestBaremetalMigrations(BaseMigrationTestCase, CommonTestsMixIn):
"""Test sqlalchemy-migrate migrations."""