[Tools 3/3] testbot/LibvirtTool: Give enough time for the VM to boot.
Francois Gouget
fgouget at codeweavers.com
Tue Oct 24 08:48:24 CDT 2017
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 at codeweavers.com>
---
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 937821f6..670c5535 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)
--
2.14.2
More information about the wine-patches
mailing list