]> git.saurik.com Git - wxWidgets.git/commitdiff
use a smaller timeout value to avoid blocking buildslaves for 10minutes
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 1 Jun 2009 14:55:22 +0000 (14:55 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 1 Jun 2009 14:55:22 +0000 (14:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/test.cpp

index 067af9edd172c4612be565a2b7afefb64310b44c..84b6b4645c7cb6e6c58e60709cf780ad407d21e0 100644 (file)
@@ -336,6 +336,7 @@ extern bool IsNetworkAvailable()
     }
 
     wxSocketClient sock;
+    sock.SetTimeout(10);    // 10 secs
     bool online = sock.Connect(addr);
     
     wxSocketBase::Shutdown();