Module: tools Branch: master Commit: 9798c36416a595c3cd9c4195660c3c9850473af7 URL: https://source.winehq.org/git/tools.git/?a=commit;h=9798c36416a595c3cd9c4195...
Author: Francois Gouget fgouget@codeweavers.com Date: Fri Sep 14 16:54:00 2018 +0200
testbot: Use tighter build timeouts.
There is no need to allow for a full rebuild if the patch only touches a few modules. This is particularly significant for Wine builds since they take longer. Reducing the timeouts ensures the TestBot will not be blocked longer than necessary should a task get stuck either due to an issue in the patch, or to a network issue. This also centralizes all build timeout calcultations in GetBuildTimeout(). Finally this slightly changes a couple of timeouts in the scheduler and activity modules because the $BuildTimeout and $ReconfigTimeout parameters are going away.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/CheckForWinetestUpdate.pl | 16 +++++--- testbot/lib/WineTestBot/Activity.pm | 2 +- testbot/lib/WineTestBot/Config.pm | 53 +++++++++++++----------- testbot/lib/WineTestBot/Engine/Scheduler.pm | 2 +- testbot/lib/WineTestBot/PatchUtils.pm | 62 ++++++++++++++++++++++++----- testbot/lib/WineTestBot/Patches.pm | 19 +++++---- testbot/web/Submit.pl | 20 +++++++++- 7 files changed, 122 insertions(+), 52 deletions(-)
Diff: https://source.winehq.org/git/tools.git/?a=commitdiff;h=9798c36416a595c3cd9c...