Module: tools Branch: master Commit: fc9d4d6ccf7e33bf93c41ce122327925a3f773d2 URL: https://source.winehq.org/git/tools.git/?a=commit;h=fc9d4d6ccf7e33bf93c41ce1...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Sep 25 16:57:55 2018 +0200
testbot: Retry updating the wine / build VMs after a timeout.
In case of a regular build failure, retrying is pointless. But in case of a timeout the VM host may be less busy next time and since the snapshot is unchanged we can retry.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/WineRunReconfig.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/testbot/bin/WineRunReconfig.pl b/testbot/bin/WineRunReconfig.pl index a58cc42..02eee8c 100755 --- a/testbot/bin/WineRunReconfig.pl +++ b/testbot/bin/WineRunReconfig.pl @@ -481,4 +481,7 @@ if ($NewStatus eq 'completed') # Wrap up #
-WrapUpAndExit($NewStatus, undef, $TaskTimedOut); +# In case of a regular build failure retrying is pointless. But in case of a +# timeout the VM host may be less busy next time and since the snapshot is +# unchanged we can retry. +WrapUpAndExit($NewStatus, $TaskTimedOut, $TaskTimedOut);