GetHostByName: better test

GitOrigin-RevId: 2be0f5e7b3122c7fd9122fcab763dffcad3d47ab
This commit is contained in:
Arseny Smirnov 2019-01-24 23:03:30 +04:00
parent 311cd72feb
commit 2a0db51cd9

View File

@ -58,7 +58,7 @@ TEST(Mtproto, GetHostByName) {
GetHostByNameActor::resolve(host, options, std::move(promise)).release();
};
std::vector<std::string> hosts = {"127.0.0.2", "1.1.1.1", "localhost", "web.telegram.org"};
std::vector<std::string> hosts = {"127.0.0.2", "1.1.1.1", "localhost", "web.telegram.org", "москва.рф"};
for (auto host : hosts) {
for (auto type : {GetHostByNameActor::ResolveType::Native, GetHostByNameActor::ResolveType::Google,
GetHostByNameActor::ResolveType::All}) {