From ac63945dbdc5a40639bbf82140e96f955b1e064d Mon Sep 17 00:00:00 2001 From: Tu Dinh Date: Tue, 14 Jan 2025 10:28:04 +0100 Subject: [PATCH] test --- tests/guest-tools/win/other_tools.py | 2 +- tests/guest-tools/win/test_xenclean.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/guest-tools/win/other_tools.py b/tests/guest-tools/win/other_tools.py index fb525aa9..04381380 100644 --- a/tests/guest-tools/win/other_tools.py +++ b/tests/guest-tools/win/other_tools.py @@ -33,7 +33,7 @@ def install_other_drivers(vm: VM, other_tools_iso_name: str, param: dict[str, An install_cmd += f"-DriverPath '{package_path}' " install_cmd += ">C:\\othertools.log" vm.start_background_powershell(install_cmd) - wait_for(vm.is_halted, "Shutdown VM") + wait_for(vm.is_halted, "Shutdown VM", timeout_secs=300) vm.eject_cd() vm.start() diff --git a/tests/guest-tools/win/test_xenclean.py b/tests/guest-tools/win/test_xenclean.py index ec2750b0..1eee8b38 100644 --- a/tests/guest-tools/win/test_xenclean.py +++ b/tests/guest-tools/win/test_xenclean.py @@ -10,7 +10,7 @@ def run_xenclean(vm: VM, guest_tools_iso: dict[str, Any]): vm.insert_cd(guest_tools_iso["name"]) - wait_for(lambda: vm.file_exists("D:/", regular_file=False)) + wait_for(lambda: vm.file_exists("D:/", regular_file=False), timeout_secs=600) logging.info("Run XenClean") xenclean_path = PureWindowsPath("D:\\") / guest_tools_iso["xenclean_path"]