This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new ea90621 Reduce tx buffer size to try and address Travis CI failures ea90621 is described below commit ea906212afd3ffac9836bee94357e128f729bb6e 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 bd0e008..b1ef421 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org