Browse Source

Update ThreadUtilsTest.java

pull/3/MERGE
dailidong 4 years ago committed by GitHub
parent
commit
29a083ca8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/threadutils/ThreadUtilsTest.java

2
dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/threadutils/ThreadUtilsTest.java

@ -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…
Cancel
Save