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 da3b672 Fix Windows test failures da3b672 is described below commit da3b672ed6b59afbc6341c2bb00aad435bcf7a9b Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Nov 10 13:41:48 2020 +0000 Fix Windows test failures --- test/org/apache/coyote/http11/TestHttp11Processor.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/org/apache/coyote/http11/TestHttp11Processor.java b/test/org/apache/coyote/http11/TestHttp11Processor.java index 80c4ca3..8ac21f4 100644 --- a/test/org/apache/coyote/http11/TestHttp11Processor.java +++ b/test/org/apache/coyote/http11/TestHttp11Processor.java @@ -1728,7 +1728,15 @@ public class TestHttp11Processor extends TomcatBaseTest { client.setRequestPause(delay); client.connect(); - client.processRequest(); + try { + client.processRequest(); + } catch (IOException ioe) { + // Failure is expected on some platforms (notably Windows) if the + // longer upload timeout is not used but record the exception in + // case it is useful for debugging purposes. + // The assertions below will check for the correct behaviour. + ioe.printStackTrace(); + } if (useLongerUploadTimeout) { // Expected response is a 200 response. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org