Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion tests/testsuite_windows_cpu_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,23 @@ 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-sapphire-rapids.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():
Expand Down
11 changes: 10 additions & 1 deletion tests/testsuite_windows_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down