Module: tools Branch: master Commit: f5b1846ab4819f4e74df4fe6c7fa35e67a4e128c URL: https://source.winehq.org/git/tools.git/?a=commit;h=f5b1846ab4819f4e74df4fe6...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Feb 2 15:08:44 2022 +0100
testbot/LibvirtTool: Tweak some sleep traces.
Show the sleep time and make them more consistent.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/LibvirtTool.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl index 70dfd34..1488344 100755 --- a/testbot/bin/LibvirtTool.pl +++ b/testbot/bin/LibvirtTool.pl @@ -552,7 +552,7 @@ sub CreateSnapshot($$)
if ($SleepAfterBoot != 0) { - Debug(Elapsed($Start), " Sleeping for the $SnapshotName snapshot\n"); + Debug(Elapsed($Start), " Sleeping ${SleepAfterBoot}s for the $SnapshotName snapshot\n"); LogMsg "Letting $VMKey settle down for the $SnapshotName snapshot\n"; sleep($SleepAfterBoot); } @@ -601,7 +601,7 @@ sub Revert() } if ($ExtraTimeout) { - Debug(Elapsed($Start), " Extend the $VMKey revert deadline by $ExtraTimeout\n"); + Debug(Elapsed($Start), " Extending the $VMKey revert deadline by ${ExtraTimeout}s\n"); my $Deadline = $VM->ChildDeadline || (time() + $VMToolTimeout); $VM->ChildDeadline($Deadline + $ExtraTimeout); $VM->Save();