NIFI-3978 Increase threadpool size for S2S HTTP tests

This closes #1858.

Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
This commit is contained in:
Joey Frazee 2017-05-25 15:32:06 +00:00 committed by Koji Kawamura
parent 5cb928131c
commit 118f4e8cca
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ public class TestHttpClient {
// Create embedded Jetty server // Create embedded Jetty server
// Use less threads to mitigate Gateway Timeout (504) with proxy test // Use less threads to mitigate Gateway Timeout (504) with proxy test
// Minimum thread pool size = (acceptors=2 + selectors=8 + request=1), defaults to max=200 // Minimum thread pool size = (acceptors=2 + selectors=8 + request=1), defaults to max=200
final QueuedThreadPool threadPool = new QueuedThreadPool(20); final QueuedThreadPool threadPool = new QueuedThreadPool(50);
server = new Server(threadPool); server = new Server(threadPool);
final ContextHandlerCollection handlerCollection = new ContextHandlerCollection(); final ContextHandlerCollection handlerCollection = new ContextHandlerCollection();