Increase TCP test thread pool size

This commit is contained in:
Gary Russell
2019-05-01 10:00:36 -04:00
parent 19b9944dd8
commit 532941c546

View File

@@ -697,7 +697,7 @@ public class TcpNioConnectionTests {
ioExec.initialize();
ThreadPoolTaskExecutor assemblerExec = new ThreadPoolTaskExecutor();
assemblerExec.setCorePoolSize(2);
assemblerExec.setMaxPoolSize(5);
assemblerExec.setMaxPoolSize(10);
assemblerExec.setQueueCapacity(0);
assemblerExec.setThreadNamePrefix("assembler-");
assemblerExec.setRejectedExecutionHandler(new AbortPolicy());