Skip to content

Commit

Permalink
VM live migration test fix (#251)
Browse files Browse the repository at this point in the history
This PR gets the VM live migration test passing by waiting for the
instance to boot before performing the migration.
  • Loading branch information
tomponline authored Aug 5, 2024
2 parents 11ac196 + 41665f1 commit 5284162
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/vm-migration
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ lxc exec member1 -- lxc config device add v1 vol1-disk disk pool=ceph source=vol

# Start the VM.
lxc exec member1 -- lxc start v1

# Move the VM, while it is running, to member2
sleep 60
lxc exec member1 -- lxc move v1 --target member2

# shellcheck disable=SC2034
Expand Down

0 comments on commit 5284162

Please sign in to comment.