Mark mysql related functional tests as unstable

Thos tests are failing quite often because of timeouts. Details
are in related bug report.
Lets make our life easier and mark them as unstable until we will
figure out how to fix this issue.

Change-Id: I47743e519c41795bba64e4da041a87bffd947fbd
Related-Bug: #1687027
This commit is contained in:
Slawek Kaplonski 2018-12-12 13:24:52 +01:00
parent 462b510c50
commit b75cf8743c
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()