提交 0586e7b1 编写于 作者: C CalvinKirs

test

上级 cc14b243
...@@ -24,7 +24,6 @@ import org.apache.dolphinscheduler.service.process.ProcessService; ...@@ -24,7 +24,6 @@ import org.apache.dolphinscheduler.service.process.ProcessService;
import java.util.Date; import java.util.Date;
import org.junit.After; import org.junit.After;
import org.junit.Assert;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
...@@ -88,15 +87,7 @@ public class TaskResponseServiceTest { ...@@ -88,15 +87,7 @@ public class TaskResponseServiceTest {
@After @After
public void after() { public void after() {
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
e.printStackTrace();
}
Assert.assertEquals(0, taskRspService.getEventQueue().size());
taskRspService.stop(); taskRspService.stop();
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册