Restore live migration tests

Change-Id: Ie7ceeb36bc5dee750b06af43299b9d05ba97a3a0
This commit is contained in:
Federico Ressi 2021-10-21 15:37:31 +02:00
parent 4e6f9bafed
commit 0b9ab33c11
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class CirrosServerTest(testtools.TestCase):
final_hypervisor = nova.get_server_hypervisor(server)
self.assertNotEqual(initial_hypervisor, final_hypervisor)
@tobiko.skip("Expected to create problems on compute nodes")
@nova.skip_if_missing_hypervisors(count=2)
def test_7_live_migrate_server(self):
self.test_6_migrate_server(live=True)
@ -119,7 +119,7 @@ class CirrosServerTest(testtools.TestCase):
self.assertNotEqual(initial_hypervisor, final_hypervisor)
self.assertEqual(target_hypervisor, final_hypervisor)
@tobiko.skip("Expected to create problems on compute nodes")
@nova.skip_if_missing_hypervisors(count=2)
def test_8_live_migrate_server_with_host(self):
self.test_8_migrate_server_with_host(live=True)