Commit 2d244fc2 authored by gejun's avatar gejun

Remove a too-strict assertion from test/brpc_http_rpc_protocol_unittest.cpp

parent 0588be2b
...@@ -830,7 +830,6 @@ TEST_F(HttpTest, skip_progressive_reading) { ...@@ -830,7 +830,6 @@ TEST_F(HttpTest, skip_progressive_reading) {
LOG(INFO) << "Sleep 3 seconds after destroy of Controller"; LOG(INFO) << "Sleep 3 seconds after destroy of Controller";
sleep(3); sleep(3);
const size_t new_written_bytes = svc.written_bytes(); const size_t new_written_bytes = svc.written_bytes();
EXPECT_FALSE(svc.ever_full());
ASSERT_EQ(0, svc.last_errno()); ASSERT_EQ(0, svc.last_errno());
LOG(INFO) << "Server still wrote " << new_written_bytes - old_written_bytes; LOG(INFO) << "Server still wrote " << new_written_bytes - old_written_bytes;
// The server side still wrote things. // The server side still wrote things.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment