Skip to content

Commit 6553cde

Browse files
committed
Enabled HostnameToIPConversionTest.YouTube_Online partially
1 parent a61b242 commit 6553cde

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/test.cc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -734,19 +734,17 @@ TEST(HostnameToIPConversionTest, HTTPWatch_Online) {
734734
EXPECT_EQ(1u, addrs.size());
735735
}
736736

737-
#if 0 // It depends on each test environment...
738737
TEST(HostnameToIPConversionTest, YouTube_Online) {
739738
auto host = "www.youtube.com";
740739

741740
std::vector<std::string> addrs;
742741
hosted_at(host, addrs);
743-
744742
EXPECT_EQ(20u, addrs.size());
745743

746-
auto it = std::find(addrs.begin(), addrs.end(), "2607:f8b0:4006:809::200e");
747-
EXPECT_TRUE(it != addrs.end());
744+
// It depends on each test environment...
745+
// auto it = std::find(addrs.begin(), addrs.end(), "2607:f8b0:4006:809::200e");
746+
// EXPECT_TRUE(it != addrs.end());
748747
}
749-
#endif
750748

751749
TEST(ChunkedEncodingTest, WithContentReceiver_Online) {
752750
auto host = "www.httpwatch.com";

0 commit comments

Comments
 (0)