This commit is contained in:
XuYi 2018-04-03 11:07:41 +08:00 committed by GitHub
parent 2c68db24c2
commit 37e3fc35b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ public class IoTDBThreadPoolFactoryTest {
args.stopTimeoutVal = 10;
args.stopTimeoutUnit = TimeUnit.SECONDS;
Thread.UncaughtExceptionHandler handler = new TestExceptionHandler(reason);
int threadCount = 500;
int threadCount = 50;
ExecutorService exec = IoTDBThreadPoolFactory.createJDBCClientThreadPool(args, POOL_NAME, handler);
for(int i = 0; i < threadCount; i++){
Runnable task = new TestThread(reason);