|
|
|
@ -1,10 +1,7 @@
|
|
|
|
|
package org.apache.dolphinscheduler.service.queue; |
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.*; |
|
|
|
|
|
|
|
|
|
import org.apache.dolphinscheduler.common.enums.Priority; |
|
|
|
|
import org.apache.dolphinscheduler.dao.entity.TaskInstance; |
|
|
|
|
import org.apache.dolphinscheduler.service.exceptions.TaskPriorityQueueException; |
|
|
|
|
|
|
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
|
|
|
|
|
@ -63,6 +60,7 @@ public class TaskPriorityQueueImplTest {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* create task priority |
|
|
|
|
* |
|
|
|
|
* @param priority |
|
|
|
|
* @param processInstanceId |
|
|
|
|
* @return |
|
|
|
|