Commit dad19c9b authored by gejun's avatar gejun

loose an assertion in test/brpc_channel_unittest.cpp

parent 08f04639
...@@ -1291,7 +1291,8 @@ protected: ...@@ -1291,7 +1291,8 @@ protected:
CallMethod(&channel, &cntl, &req, &res, async); CallMethod(&channel, &cntl, &req, &res, async);
EXPECT_TRUE(brpc::EEOF == cntl.ErrorCode() || EXPECT_TRUE(brpc::EEOF == cntl.ErrorCode() ||
brpc::ETOOMANYFAILS == cntl.ErrorCode()) << cntl.ErrorText(); brpc::ETOOMANYFAILS == cntl.ErrorCode() ||
ECONNRESET == cntl.ErrorCode()) << cntl.ErrorText();
StopAndJoin(); StopAndJoin();
} }
......
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