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/11/12 14:09:29 UTC
[tomcat] branch 9.0.x updated: Fix Windows test 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 996a65c Fix Windows test failures
996a65c is described below
commit 996a65c8d9335960507a1198a193b17d62307bc7
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 e9013dd..f3ddb8b 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org