Commit 8c6a997a authored by zhujiashun's avatar zhujiashun

add sleep time in test StreamingRpcTest idle_timeout

parent fff5847e
......@@ -345,7 +345,7 @@ TEST_F(StreamingRpcTest, idle_timeout) {
test::EchoService_Stub stub(&channel);
stub.Echo(&cntl, &request, &response, NULL);
ASSERT_FALSE(cntl.Failed()) << cntl.ErrorText() << " request_stream=" << request_stream;
usleep(10 * 1000 + 800);
usleep(20 * 1000 + 800);
ASSERT_EQ(0, brpc::StreamClose(request_stream));
while (!handler.stopped()) {
usleep(100);
......
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