提交 8bd34664 编写于 作者: F fengjiayi

fix unit test error

上级 17c51d69
......@@ -78,7 +78,7 @@ TEST(BlockingQueue, SenderBlockingTest) {
std::vector<size_t> res;
while (true) {
size_t elem;
if (!q.Receive(&elem) {
if (!q.Receive(&elem)) {
break;
}
res.push_back(elem);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册