From 49ba3643c7ac9dcce74d28df947393041160aa24 Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Thu, 8 Nov 2018 16:20:28 -0500 Subject: [PATCH] Increase timeouts in all HandleHttpRequest unit tests from 3 seconds to 20 seconds to avoid frequent unit test failures --- .../nifi/processors/standard/TestHandleHttpRequest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestHandleHttpRequest.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestHandleHttpRequest.java index af3b59e4d4..3c64bfff4f 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestHandleHttpRequest.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestHandleHttpRequest.java @@ -391,8 +391,8 @@ public class TestHandleHttpRequest { connection.setRequestProperty("header1", "value1"); connection.setRequestProperty("header2", ""); connection.setRequestProperty("header3", "apple=orange"); - connection.setConnectTimeout(3000); - connection.setReadTimeout(3000); + connection.setConnectTimeout(20000); + connection.setReadTimeout(20000); StreamUtils.copy(connection.getInputStream(), new NullOutputStream()); } catch (final Throwable t) {