test_qos_after_live_migration creates VMs on different computes

test_qos_after_live_migration is skipped unless the environment has more
than one compute available. The two created VMs should be spawned on
different computes.

Change-Id: I5f496d12aaff87aeb30ba226bfb52b1dc1479aa7
This commit is contained in:
Eduardo Olivares 2025-04-21 10:12:32 +02:00
parent 407689b672
commit 4d12e79276

View File

@ -919,7 +919,7 @@ class QosTestCommon(QosBaseTest):
@decorators.attr(type='slow')
def test_qos_after_live_migration(self):
src_server, dst_server = (
self._create_vms_by_topology(different_host=False))
self._create_vms_by_topology())
self._test_qos_after_migration(
src_server, dst_server, migration_method='live-migration')