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:
dailidong 2020-10-08 23:27:36 +08:00 committed by GitHub
parent d64127b90a
commit 8e0fb35366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;