Merge "Mark mysql related functional tests as unstable"

This commit is contained in:
Zuul 2018-12-14 12:28:37 +00:00 committed by Gerrit Code Review
commit c1b6a1180d
1 changed files with 28 additions and 0 deletions

View File

@ -352,6 +352,7 @@ class TestModelsMigrationsMysql(testlib_api.MySQLTestCaseMixin,
testlib_api.SqlTestCaseLight,
functional_base.BaseLoggingTestCase):
@test_base.unstable_test("bug 1687027")
def test_check_mysql_engine(self):
engine = self.get_engine()
cfg.CONF.set_override('connection', engine.url, group='database')
@ -370,6 +371,32 @@ class TestModelsMigrationsMysql(testlib_api.MySQLTestCaseMixin,
table != 'alembic_version']
self.assertEqual(0, len(res), "%s non InnoDB tables created" % res)
@test_base.unstable_test("bug 1687027")
def test_upgrade_expand_branch(self):
super(TestWalkMigrationsMysql, self).test_upgrade_expand_branch()
@test_base.unstable_test("bug 1687027")
def test_upgrade_contract_branch(self):
super(TestWalkMigrationsMysql, self).test_upgrade_contract_branch()
@test_base.unstable_test("bug 1687027")
def test_branches(self):
super(TestWalkMigrationsMysql, self).test_branches()
@test_base.unstable_test("bug 1687027")
def test_has_offline_migrations_pending_contract_scripts(self):
super(TestWalkMigrationsMysql,
self).test_has_offline_migrations_pending_contract_scripts()
@test_base.unstable_test("bug 1687027")
def test_has_offline_migrations_all_heads_upgraded(self):
super(TestWalkMigrationsMysql,
self).test_has_offline_migrations_all_heads_upgraded()
@test_base.unstable_test("bug 1687027")
def test_models_sync(self):
super(TestWalkMigrationsMysql, self).test_models_sync()
class TestModelsMigrationsPsql(testlib_api.PostgreSQLTestCaseMixin,
_TestModelsMigrations,
@ -589,6 +616,7 @@ class TestWalkMigrationsMysql(testlib_api.MySQLTestCaseMixin,
# on slow nodes than 'psycopg2' and because of that this increased
# timeout is required only when for testing with 'mysql' backend.
@test_base.set_timeout(600)
@test_base.unstable_test("bug 1687027")
def test_walk_versions(self):
super(TestWalkMigrationsMysql, self).test_walk_versions()