提交 2a9e789f 编写于 作者: C CalvinKirs

test

上级 b3991d9d
......@@ -93,10 +93,8 @@ public class TaskResponseServiceTest {
long maxWaitTime = 3 * 60 * 1000;
while (System.currentTimeMillis() - maxWaitTime - startTime < 0) {
if (taskResponseService.getEventQueue().size() == 0) {
return;
}
while (taskResponseService.getEventQueue().size() != 0) {
}
Assert.assertEquals(0, taskResponseService.getEventQueue().size());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册