mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
Revert "Enabled HostnameToIPConversionTest.YouTube_Online partially"
This reverts commit 6553cdedab
.
This commit is contained in:
parent
6553cdedab
commit
6c93aea59a
1 changed files with 5 additions and 3 deletions
|
@ -734,17 +734,19 @@ TEST(HostnameToIPConversionTest, HTTPWatch_Online) {
|
||||||
EXPECT_EQ(1u, addrs.size());
|
EXPECT_EQ(1u, addrs.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 // It depends on each test environment...
|
||||||
TEST(HostnameToIPConversionTest, YouTube_Online) {
|
TEST(HostnameToIPConversionTest, YouTube_Online) {
|
||||||
auto host = "www.youtube.com";
|
auto host = "www.youtube.com";
|
||||||
|
|
||||||
std::vector<std::string> addrs;
|
std::vector<std::string> addrs;
|
||||||
hosted_at(host, addrs);
|
hosted_at(host, addrs);
|
||||||
|
|
||||||
EXPECT_EQ(20u, addrs.size());
|
EXPECT_EQ(20u, addrs.size());
|
||||||
|
|
||||||
// It depends on each test environment...
|
auto it = std::find(addrs.begin(), addrs.end(), "2607:f8b0:4006:809::200e");
|
||||||
// auto it = std::find(addrs.begin(), addrs.end(), "2607:f8b0:4006:809::200e");
|
EXPECT_TRUE(it != addrs.end());
|
||||||
// EXPECT_TRUE(it != addrs.end());
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
TEST(ChunkedEncodingTest, WithContentReceiver_Online) {
|
TEST(ChunkedEncodingTest, WithContentReceiver_Online) {
|
||||||
auto host = "www.httpwatch.com";
|
auto host = "www.httpwatch.com";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue