Commit 7bef18dd authored by gejun's avatar gejun

make a sleep in brpc_server_unittest longer

parent 11e6c784
......@@ -1009,7 +1009,7 @@ TEST_F(ServerTest, close_idle_connections) {
const int cfd = tcp_connect(ep, NULL);
ASSERT_GT(cfd, 0);
usleep(1000);
usleep(10000);
brpc::ServerStatistics stat;
server.GetStat(&stat);
ASSERT_EQ(1ul, stat.connection_count);
......
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