Update IpAddress tests
It looks like Google changed their dns
This commit is contained in:
parent
3fa3ccc0e0
commit
7d0d1feea4
|
|
@ -144,14 +144,8 @@ SCENARIO("IpAddress", "[NETWORK][IPADDRESS]")
|
|||
|
||||
WHEN("We resolve IP to hostname")
|
||||
{
|
||||
Nz::IpAddress google(8, 8, 8, 8);
|
||||
THEN("Google (DNS) is 8.8.8.8")
|
||||
{
|
||||
std::string dnsAddress = Nz::IpAddress::ResolveAddress(google);
|
||||
bool dnsCheck = dnsAddress == "google-public-dns-a.google.com" || dnsAddress == "dns.google";
|
||||
INFO(dnsAddress);
|
||||
CHECK(dnsCheck);
|
||||
}
|
||||
CHECK(Nz::IpAddress::ResolveAddress(loopbackIpV4) == "localhost");
|
||||
CHECK(Nz::IpAddress::ResolveAddress(loopbackIpV6) == "localhost");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue