Enabled HostnameToIPConversionTest.YouTube_Online partially
Some checks failed
test / ubuntu (push) Has been cancelled
test / macos (push) Has been cancelled
test / windows (push) Has been cancelled

This commit is contained in:
yhirose 2024-09-13 20:45:59 -04:00
parent a61b2427b0
commit 6553cdedab

View file

@ -734,19 +734,17 @@ TEST(HostnameToIPConversionTest, HTTPWatch_Online) {
EXPECT_EQ(1u, addrs.size());
}
#if 0 // It depends on each test environment...
TEST(HostnameToIPConversionTest, YouTube_Online) {
auto host = "www.youtube.com";
std::vector<std::string> addrs;
hosted_at(host, addrs);
EXPECT_EQ(20u, addrs.size());
auto it = std::find(addrs.begin(), addrs.end(), "2607:f8b0:4006:809::200e");
EXPECT_TRUE(it != addrs.end());
// It depends on each test environment...
// auto it = std::find(addrs.begin(), addrs.end(), "2607:f8b0:4006:809::200e");
// EXPECT_TRUE(it != addrs.end());
}
#endif
TEST(ChunkedEncodingTest, WithContentReceiver_Online) {
auto host = "www.httpwatch.com";