Module: tools
Branch: master
Commit: e94abb3ffad8819461f9bfa3c2e55936b8e4d3d9
URL: http://source.winehq.org/git/tools.git/?a=commit;h=e94abb3ffad8819461f9bfa3…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue Oct 24 15:48:24 2017 +0200
testbot/LibvirtTool: Give enough time for the VM to boot.
In particular if the VM has not been used for a while one can get "No
route to host" errors in quick succession. It's only once the VM has
reclaimed its IP address that this error goes away.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/LibvirtTool.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl
index 937821f..670c553 100755
--- a/testbot/bin/LibvirtTool.pl
+++ b/testbot/bin/LibvirtTool.pl
@@ -361,7 +361,7 @@ sub Revert()
Debug(Elapsed($Start), " Trying the TestAgent connection\n");
LogMsg "Waiting for ". $VM->Name ." (up to ${WaitForToolsInVM}s per attempt)\n";
my $TA = $VM->GetAgent();
- $TA->SetConnectTimeout($WaitForToolsInVM);
+ $TA->SetConnectTimeout($WaitForToolsInVM, undef, $WaitForToolsInVM);
my $Success = $TA->Ping();
$TA->Disconnect();
if (!$Success)