Francois Gouget : testbot/WineRunTask: Increase the leeway to catch TestLauncher timeouts!.

Alexandre Julliard julliard at winehq.org
Wed Apr 7 15:48:16 CDT 2021


Module: tools
Branch: master
Commit: 4e59cecd35cb3632771f854e08f387cb7757167f
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=4e59cecd35cb3632771f854e08f387cb7757167f

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Apr  7 11:03:53 2021 +0200

testbot/WineRunTask: Increase the leeway to catch TestLauncher timeouts!.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/bin/WineRunTask.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index d5f2610..b1578ad 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -444,9 +444,9 @@ if ($Step->Type eq "single")
   }
 
   $Script .= "$TestLauncher -t $Timeout $FileName ";
-  # Add 1 second to the timeout so the client-side Wait() does not time out
-  # right before $TestLauncher does.
-  $Timeout += 1;
+  # Add some margin so $TA->Wait() does not time out right before
+  # TestLauncher does.
+  $Timeout += 5;
   $Keepalive = 20;
   my $CmdLineArg = $Task->CmdLineArg;
   if ($CmdLineArg)




More information about the wine-cvs mailing list