Add skip_if_timeout to additional MySQL migration test
Test test_forbid_offline_migrations_starting_newton from neutron.tests.functional.db.test_migrations.TestModelsMigrationsMysql module can also fail because of db timeouts when are running on overloaded test node. To not fail job because of that, this patch adds skip_if_timeout decorator to this additional test. Change-Id: Ia255d331cbb24e1fdd12212580e85423da242eae Related-Bug: #1687027
This commit is contained in:
parent
bd3d85807c
commit
d83bb4f160
@ -361,6 +361,11 @@ class TestModelsMigrationsMysql(testlib_api.MySQLTestCaseMixin,
|
||||
testlib_api.SqlTestCaseLight,
|
||||
functional_base.BaseLoggingTestCase):
|
||||
|
||||
@test_base.skip_if_timeout("bug 1687027")
|
||||
def test_forbid_offline_migrations_starting_newton(self):
|
||||
super(TestModelsMigrationsMysql,
|
||||
self).test_forbid_offline_migrations_starting_newton()
|
||||
|
||||
@test_base.skip_if_timeout("bug 1687027")
|
||||
def test_check_mysql_engine(self):
|
||||
engine = self.get_engine()
|
||||
|
Loading…
x
Reference in New Issue
Block a user