Module: tools Branch: master Commit: a116dac155fd6a6c24684203c20174fd30f9a844 URL: http://source.winehq.org/git/tools.git/?a=commit;h=a116dac155fd6a6c24684203c...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Mar 12 14:45:54 2014 +0100
testbot/TestAgent: Better handle connection timeouts.
The timeout can and does sometimes happen when connecting or authenticating to SSH or starting netcat, not just when creating the initial socket connection. So apply the timeout and connection retries to the whole process. This means RevertVM no longer needs its own attempt loop and the other scripts should no longer fail to connect where RevertVM succeeded. Also let clients specify how many attempts to make in case they don't like the default of 3.
---
testbot/bin/RevertVM.pl | 9 +- testbot/lib/WineTestBot/TestAgent.pm | 239 +++++++++++++++++++--------------- 2 files changed, 134 insertions(+), 114 deletions(-)
Diff: http://source.winehq.org/git/tools.git/?a=commitdiff;h=a116dac155fd6a6c24684...