未验证 提交 4db2cc90 编写于 作者: C Chen Weihang 提交者: GitHub

fix reader_blocking_queue_test (#32505)

上级 fb7590d4
...@@ -68,7 +68,7 @@ TEST(BlockingQueue, SenderBlockingTest) { ...@@ -68,7 +68,7 @@ TEST(BlockingQueue, SenderBlockingTest) {
++send_count; ++send_count;
} }
}); });
std::this_thread::sleep_for(std::chrono::milliseconds(1000)); std::this_thread::sleep_for(std::chrono::milliseconds(1500));
q.Close(); q.Close();
sender.join(); sender.join();
EXPECT_EQ(send_count, queue_cap); EXPECT_EQ(send_count, queue_cap);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册