diff --git a/tests/testsuite_windows_cpu_profiles.py b/tests/testsuite_windows_cpu_profiles.py index 336f9ce..3954c84 100644 --- a/tests/testsuite_windows_cpu_profiles.py +++ b/tests/testsuite_windows_cpu_profiles.py @@ -46,7 +46,8 @@ def setUpClass(cls): def test_windows_boot(self): """ - Test that we do not introduce a regression with respect to booting windows. + Test that we do not introduce a regression with respect to + booting and migrating windows. """ controllerVM.succeed( @@ -54,6 +55,14 @@ def test_windows_boot(self): ) controllerVM.succeed("virsh start testvm") wait_for_ssh(controllerVM, user="administrator", password="FOO99bar!!") + controllerVM.succeed( + "virsh migrate --domain testvm --desturi ch+tcp://computeVM/session --persistent --live --p2p --parallel --parallel-connections 4" + ) + wait_for_ssh(computeVM, user="administrator", password="FOO99bar!!") + computeVM.succeed( + "virsh migrate --domain testvm --desturi ch+tcp://controllerVM/session --persistent --live --p2p --parallel --parallel-connections 4" + ) + wait_for_ssh(controllerVM, user="administrator", password="FOO99bar!!") def suite(): diff --git a/tests/testsuite_windows_default.py b/tests/testsuite_windows_default.py index 2812772..a4094ff 100644 --- a/tests/testsuite_windows_default.py +++ b/tests/testsuite_windows_default.py @@ -46,12 +46,21 @@ def setUpClass(cls): def test_windows_boot(self): """ - Test that we do not introduce a regression with respect to booting windows. + Test that we do not introduce a regression with respect to + booting and migrating windows. """ controllerVM.succeed("virsh define /etc/domain-windows-server.xml") controllerVM.succeed("virsh start testvm") wait_for_ssh(controllerVM, user="administrator", password="FOO99bar!!") + controllerVM.succeed( + "virsh migrate --domain testvm --desturi ch+tcp://computeVM/session --persistent --live --p2p --parallel --parallel-connections 4" + ) + wait_for_ssh(computeVM, user="administrator", password="FOO99bar!!") + computeVM.succeed( + "virsh migrate --domain testvm --desturi ch+tcp://controllerVM/session --persistent --live --p2p --parallel --parallel-connections 4" + ) + wait_for_ssh(controllerVM, user="administrator", password="FOO99bar!!") def suite():