From 316fef22c699a8dc5fc13ed8d779369043167874 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 18 Sep 2019 19:55:14 -0400 Subject: [PATCH] Temporarily skip TestNovaMigrationsMySQL We are hitting bug 1823251 more frequently again close to the Ussuri Feature Freeze. So let's temporary turn of the unstable patches. We don't have patches in the queue with DB model changes so loosing this coverage is not super critical. Change-Id: I51039c4c5817add873a289234ab79569d2520cb3 Related-Bug: #1823251 --- nova/tests/unit/db/test_migrations.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nova/tests/unit/db/test_migrations.py b/nova/tests/unit/db/test_migrations.py index adca3d8f6e06..a5487ab83d9d 100644 --- a/nova/tests/unit/db/test_migrations.py +++ b/nova/tests/unit/db/test_migrations.py @@ -1066,6 +1066,13 @@ class TestNovaMigrationsMySQL(NovaMigrationsCheckers, testtools.TestCase): FIXTURE = test_fixtures.MySQLOpportunisticFixture + def setUp(self): + super(TestNovaMigrationsMySQL, self).setUp() + # TODO(mriedem): Revert this change before Ussuri RC1 since this is a + # temporary measure to merge code post-feature-freeze in Ussuri which + # continually keeps failing gate runs due to bug 1823251. + self.skipTest('Skip due to bug 1823251 but unskip before Ussuri RC1.') + def test_innodb_tables(self): with mock.patch.object(sa_migration, 'get_engine', return_value=self.migrate_engine):