Index: net/http/http_response_body_drainer_unittest.cc |
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc |
index f587b9085293c777743eda5e91b7fdd97eb55aea..899c243ae9e31f2fbf755daa53038e24ee3e5043 100644 |
--- a/net/http/http_response_body_drainer_unittest.cc |
+++ b/net/http/http_response_body_drainer_unittest.cc |
@@ -305,22 +305,6 @@ TEST_F(HttpResponseBodyDrainerTest, DrainBodyTooLarge) { |
EXPECT_TRUE(result_waiter_.WaitForResult()); |
} |
-TEST_F(HttpResponseBodyDrainerTest, StartBodyTooLarge) { |
- int too_many_chunks = |
- HttpResponseBodyDrainer::kDrainBodyBufferSize / kMagicChunkSize; |
- too_many_chunks += 1; // Now it's too large. |
- |
- mock_stream_->set_num_chunks(0); |
- drainer_->StartWithSize(session_.get(), too_many_chunks * kMagicChunkSize); |
- EXPECT_TRUE(result_waiter_.WaitForResult()); |
-} |
- |
-TEST_F(HttpResponseBodyDrainerTest, StartWithNothingToDo) { |
- mock_stream_->set_num_chunks(0); |
- drainer_->StartWithSize(session_.get(), 0); |
- EXPECT_FALSE(result_waiter_.WaitForResult()); |
-} |
- |
} // namespace |
} // namespace net |