From 860dd39fab3aebf6612b8024ee67a040f973d69f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 23 Apr 2022 16:16:01 +0100 Subject: [PATCH] Check connection to www.wxwidgets.org and not www.google.com Our tests use the former and not the latter, so check connection to the site we're actually interested in. --- tests/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.cpp b/tests/test.cpp index b9e2f8c96e..e2b532e1a1 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -436,7 +436,7 @@ extern bool IsNetworkAvailable() wxSocketBase::Initialize(); wxIPV4address addr; - if (!addr.Hostname(wxASCII_STR("www.google.com")) || !addr.Service(wxASCII_STR("www"))) + if (!addr.Hostname(wxASCII_STR("www.wxwidgets.org")) || !addr.Service(wxASCII_STR("www"))) { wxSocketBase::Shutdown(); return false;