On 03/12/2013 02:11 AM, Amos Kong wrote:
Current vm.reboot() uses the default timeout(240), sometimes it's
too short for Windows guest.

Ok, fixed the typo in the commit message and applied, thanks!

Signed-off-by: Amos Kong <[email protected]>
---
  qemu/tests/timedrift_with_reboot.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu/tests/timedrift_with_reboot.py 
b/qemu/tests/timedrift_with_reboot.py
index b40bb35..037924c 100644
--- a/qemu/tests/timedrift_with_reboot.py
+++ b/qemu/tests/timedrift_with_reboot.py
@@ -47,7 +47,7 @@ def run_timedrift_with_reboot(test, params, env):
              # Run current iteration
              logging.info("Rebooting: iteration %d of %d...",
                           (i + 1), reboot_iterations)
-            session = vm.reboot(session)
+            session = vm.reboot(session, timeout=timeout)
              # Get time after current iteration
              (ht1_, gt1_) = utils_test.get_time(session, time_command,
                                                     time_filter_re, 
time_format)


_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to