Update dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/threadutils/ThreadUtilsTest.java
Co-authored-by: Yichao Yang <1048262223@qq.com>
This commit is contained in:
parent
d64127b90a
commit
8e0fb35366
|
|
@ -37,7 +37,7 @@ public class ThreadUtilsTest {
|
|||
@Test
|
||||
public void testNewDaemonFixedThreadExecutor() {
|
||||
// create core size and max size are all 3
|
||||
ExecutorService testExec = ThreadUtils.newDaemonFixedThreadExecutor("test-exec-thread",3);
|
||||
ExecutorService testExec = ThreadUtils.newDaemonFixedThreadExecutor("test-exec-thread", 3);
|
||||
|
||||
for (int i = 0; i < 2; i++) {
|
||||
final int index = i;
|
||||
|
|
|
|||
Loading…
Reference in New Issue