From 118f4e8cca8a8528debade90dad41239b070c199 Mon Sep 17 00:00:00 2001 From: Joey Frazee Date: Thu, 25 May 2017 15:32:06 +0000 Subject: [PATCH] NIFI-3978 Increase threadpool size for S2S HTTP tests This closes #1858. Signed-off-by: Koji Kawamura --- .../java/org/apache/nifi/remote/client/http/TestHttpClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi-commons/nifi-site-to-site-client/src/test/java/org/apache/nifi/remote/client/http/TestHttpClient.java b/nifi-commons/nifi-site-to-site-client/src/test/java/org/apache/nifi/remote/client/http/TestHttpClient.java index ed85efe067..c5cd4becc6 100644 --- a/nifi-commons/nifi-site-to-site-client/src/test/java/org/apache/nifi/remote/client/http/TestHttpClient.java +++ b/nifi-commons/nifi-site-to-site-client/src/test/java/org/apache/nifi/remote/client/http/TestHttpClient.java @@ -432,7 +432,7 @@ public class TestHttpClient { // Create embedded Jetty server // 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 - final QueuedThreadPool threadPool = new QueuedThreadPool(20); + final QueuedThreadPool threadPool = new QueuedThreadPool(50); server = new Server(threadPool); final ContextHandlerCollection handlerCollection = new ContextHandlerCollection();