Skip to content

Commit

Permalink
Add missing fixture
Browse files Browse the repository at this point in the history
`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 <[email protected]>
  • Loading branch information
benjamreis committed Sep 28, 2023
1 parent c7448ee commit 8bb6dd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/misc/test_basic_without_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bb6dd8

Please sign in to comment.