From 8bb6dd868fa000886938816462f704911013ef8d Mon Sep 17 00:00:00 2001 From: BenjiReis Date: Thu, 28 Sep 2023 09:28:04 +0200 Subject: [PATCH] Add missing fixture `test_live_migrate` needs at least 2 hosts in the pool as it's attempt to migrate a vm between them. Signed-off-by: BenjiReis --- tests/misc/test_basic_without_ssh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/misc/test_basic_without_ssh.py b/tests/misc/test_basic_without_ssh.py index 4919d921a..52587df77 100644 --- a/tests/misc/test_basic_without_ssh.py +++ b/tests/misc/test_basic_without_ssh.py @@ -75,6 +75,7 @@ def test_checkpoint(self, imported_vm): # Live migration tests # We want to test storage migration (memory+disks) and live migration without storage migration (memory only). # The order will depend on the initial location of the VM: a local SR or a shared SR. + @pytest.mark.usefixtures("hostA2") def test_live_migrate(self, imported_vm, existing_shared_sr): def live_migrate(vm, dest_host, dest_sr, check_vdis=False): vm.migrate(dest_host, dest_sr)