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 98707a9 Reduce tx buffer size to try and address Travis CI failures 98707a9 is described below commit 98707a9cb052a0102a11641a805d83db58aea4de 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 4c2435d..f792a9a 100644 --- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java +++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java @@ -330,7 +330,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