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 2020/08/19 18:37:50 UTC

[tomcat] branch 9.0.x updated: Reduce tx buffer size to try and address Travis CI failures

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 50f5da8  Reduce tx buffer size to try and address Travis CI failures
50f5da8 is described below

commit 50f5da81c2daacfd73763d59be4b8108376dcf16
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Aug 19 19:36:53 2020 +0100

    Reduce tx buffer size to try and address Travis CI failures
    
    The logs indicate that the CI failure is caused by the servlet writing
    the whole response which is 10x bigger than the buffer
---
 test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
index efe6268..e982d57 100644
--- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
+++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
@@ -329,7 +329,7 @@ public class TestNonBlockingAPI extends TomcatBaseTest {
         // Note: Low values of socket.txBufSize can trigger very poor
         //       performance. Set it just low enough to ensure that the
         //       non-blocking write servlet will see isReady() == false
-        Assert.assertTrue(tomcat.getConnector().setProperty("socket.txBufSize", "1048576"));
+        Assert.assertTrue(tomcat.getConnector().setProperty("socket.txBufSize", "524228"));
         tomcat.start();
 
         SocketFactory factory = SocketFactory.getDefault();


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