diff --git a/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/queue/TaskPriorityQueueImplTest.java b/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/queue/TaskPriorityQueueImplTest.java index de2acadfab..f3514a09f2 100644 --- a/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/queue/TaskPriorityQueueImplTest.java +++ b/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/queue/TaskPriorityQueueImplTest.java @@ -1,6 +1,5 @@ package org.apache.dolphinscheduler.service.queue; - import org.apache.dolphinscheduler.common.enums.Priority; import java.util.concurrent.TimeUnit; @@ -41,7 +40,6 @@ public class TaskPriorityQueueImplTest { Assert.assertTrue(getPriorityQueue().size() == 2); } - /** * get queue * @@ -57,7 +55,6 @@ public class TaskPriorityQueueImplTest { return queue; } - /** * create task priority * diff --git a/dolphinscheduler-service/src/test/java/queue/PeerTaskInstancePriorityQueueTest.java b/dolphinscheduler-service/src/test/java/queue/PeerTaskInstancePriorityQueueTest.java index 03e3743452..8ad768a331 100644 --- a/dolphinscheduler-service/src/test/java/queue/PeerTaskInstancePriorityQueueTest.java +++ b/dolphinscheduler-service/src/test/java/queue/PeerTaskInstancePriorityQueueTest.java @@ -20,9 +20,7 @@ package queue; import org.apache.dolphinscheduler.common.enums.Priority; import org.apache.dolphinscheduler.dao.entity.TaskInstance; import org.apache.dolphinscheduler.service.queue.PeerTaskInstancePriorityQueue; - import java.util.concurrent.TimeUnit; - import org.junit.Assert; import org.junit.Test;