Skip to content

Commit

Permalink
loose an assertion in test/brpc_channel_unittest.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gejun committed Oct 24, 2017
1 parent 08f0463 commit dad19c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/brpc_channel_unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,8 @@ class ChannelTest : public ::testing::Test{
CallMethod(&channel, &cntl, &req, &res, async);

EXPECT_TRUE(brpc::EEOF == cntl.ErrorCode() ||
brpc::ETOOMANYFAILS == cntl.ErrorCode()) << cntl.ErrorText();
brpc::ETOOMANYFAILS == cntl.ErrorCode() ||
ECONNRESET == cntl.ErrorCode()) << cntl.ErrorText();
StopAndJoin();
}

Expand Down

0 comments on commit dad19c9

Please sign in to comment.