[PATCH] testbot/CheckForWinetestUpdate: Fix the Wine reconfig timeout.

Francois Gouget fgouget at codeweavers.com
Wed Jun 27 01:07:50 CDT 2018


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/CheckForWinetestUpdate.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testbot/bin/CheckForWinetestUpdate.pl b/testbot/bin/CheckForWinetestUpdate.pl
index d3ef384c7..a570a1b80 100755
--- a/testbot/bin/CheckForWinetestUpdate.pl
+++ b/testbot/bin/CheckForWinetestUpdate.pl
@@ -286,7 +286,9 @@ sub AddReconfigJob($)
     Debug("  $VMKey $VMType reconfig\n");
     my $Task = $BuildStep->Tasks->Add();
     $Task->VM($VM);
-    $Task->Timeout($ReconfigTimeout);
+    $Task->Timeout($VMType eq "wine" ?
+                   3 * $WineReconfigTimeout : # 3 full Wine builds
+                   $ReconfigTimeout);         # 1 overall timeout
   }
 
   # Save the build step so the others can reference it.
-- 
2.18.0




More information about the wine-devel mailing list