You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/05/10 12:33:50 UTC

[tomcat] branch master updated: Increase timeouts to reduce test failures with debug logging

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 619ded4  Increase timeouts to reduce test failures with debug logging
619ded4 is described below

commit 619ded412c98262238544bbbbe50d8acbd690101
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri May 10 13:30:47 2019 +0100

    Increase timeouts to reduce test failures with debug logging
---
 test/org/apache/coyote/http2/Http2TestBase.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/org/apache/coyote/http2/Http2TestBase.java b/test/org/apache/coyote/http2/Http2TestBase.java
index 3a0c8d9..ed15314 100644
--- a/test/org/apache/coyote/http2/Http2TestBase.java
+++ b/test/org/apache/coyote/http2/Http2TestBase.java
@@ -536,11 +536,11 @@ public abstract class Http2TestBase extends TomcatBaseTest {
         Connector connector = getTomcatInstance().getConnector();
         Http2Protocol http2Protocol = new Http2Protocol();
         // Short timeouts for now. May need to increase these for CI systems.
-        http2Protocol.setReadTimeout(2000);
-        http2Protocol.setWriteTimeout(2000);
-        http2Protocol.setKeepAliveTimeout(5000);
-        http2Protocol.setStreamReadTimeout(1000);
-        http2Protocol.setStreamWriteTimeout(1000);
+        http2Protocol.setReadTimeout(4000);
+        http2Protocol.setWriteTimeout(4000);
+        http2Protocol.setKeepAliveTimeout(10000);
+        http2Protocol.setStreamReadTimeout(2000);
+        http2Protocol.setStreamWriteTimeout(2000);
         http2Protocol.setMaxConcurrentStreams(maxConcurrentStreams);
         connector.addUpgradeProtocol(http2Protocol);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org