[tools] testbot/LibvirtTool: Tweak some sleep traces.

Francois Gouget fgouget at codeweavers.com
Wed Feb 2 08:08:44 CST 2022


Show the sleep time and make them more consistent.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 0635f5ff51..b186e19c39 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();
-- 
2.30.2



More information about the wine-devel mailing list