Fix mysql functional migration tests

In patch [1] I marked all MySQL related migration tests
as unstable but I made mistake with calling super() method in
tests from TestModelsMigrationsMysql class.
This wasn't catched as tests were skipped instead of fail.

This patch fixes that, so tests can be run properly and be skipped
only if "real" issue with timeout will happen.

[1] https://review.openstack.org/#/c/624685/

Change-Id: Id42d6d8e24fdea5ac83f0fecc6975c19b933a501
Related-Bug: #1687027
This commit is contained in:
Slawek Kaplonski 2018-12-17 12:20:48 +01:00
parent 17c6cf7abe
commit 0a4d2ee877
1 changed files with 6 additions and 6 deletions

View File

@ -373,29 +373,29 @@ class TestModelsMigrationsMysql(testlib_api.MySQLTestCaseMixin,
@test_base.unstable_test("bug 1687027")
def test_upgrade_expand_branch(self):
super(TestWalkMigrationsMysql, self).test_upgrade_expand_branch()
super(TestModelsMigrationsMysql, self).test_upgrade_expand_branch()
@test_base.unstable_test("bug 1687027")
def test_upgrade_contract_branch(self):
super(TestWalkMigrationsMysql, self).test_upgrade_contract_branch()
super(TestModelsMigrationsMysql, self).test_upgrade_contract_branch()
@test_base.unstable_test("bug 1687027")
def test_branches(self):
super(TestWalkMigrationsMysql, self).test_branches()
super(TestModelsMigrationsMysql, self).test_branches()
@test_base.unstable_test("bug 1687027")
def test_has_offline_migrations_pending_contract_scripts(self):
super(TestWalkMigrationsMysql,
super(TestModelsMigrationsMysql,
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,
super(TestModelsMigrationsMysql,
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()
super(TestModelsMigrationsMysql, self).test_models_sync()
class TestModelsMigrationsPsql(testlib_api.PostgreSQLTestCaseMixin,