Skip test_migrate_disk_and_power_off_crash_finish_revert_migration

The stub with the compute service restart + sleep in this test is
leaking into other tests on the same worker process causing other
tests to fail, like versioned notification sample tests which are
asserting an expected number of notifications but getting more than
expected because the revert resize is waking up after the sleep and
failing which triggers and error notification.

Change-Id: I8da4caebe4c574280b1cfdb76a93cc899b807f2e
Related-Bug: #1839515
This commit is contained in:
Matt Riedemann 2019-08-08 13:09:18 -04:00
parent af40e3d1a6
commit 4156571d2c
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,8 @@
import mock
import time
import testtools
from nova import context as nova_context
from nova import objects
from nova.tests.functional import integrated_helpers
@ -26,6 +28,7 @@ class ComputeManagerInitHostTestCase(
compute_driver = 'fake.MediumFakeDriver'
@testtools.skip('Bug 1839515')
def test_migrate_disk_and_power_off_crash_finish_revert_migration(self):
"""Tests the scenario that the compute service crashes while the
driver's migrate_disk_and_power_off method is running (we could be