Increase timeouts in all HandleHttpRequest unit tests from 3 seconds to 20 seconds to avoid frequent unit test failures

This commit is contained in:
Mark Payne 2018-11-08 16:20:28 -05:00
parent 50c0d1ed5d
commit 49ba3643c7
1 changed files with 2 additions and 2 deletions

View File

@ -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) {