[tools] testbot/WineRunTask: Increase the leeway to catch TestLauncher timeouts!

Francois Gouget fgouget at codeweavers.com
Wed Apr 7 04:03:53 CDT 2021


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 714679660..148884328 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)
-- 
2.20.1



More information about the wine-devel mailing list