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 2023/08/08 16:43:35 UTC
[tomcat] branch 8.5.x updated: Additional debug logging for intermittent test failure
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 5736f39215 Additional debug logging for intermittent test failure
5736f39215 is described below
commit 5736f39215c519fac5781473fa51ed982b50a346
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 8 17:39:45 2023 +0100
Additional debug logging for intermittent test failure
---
test/org/apache/catalina/core/TestAsyncContextImpl.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/org/apache/catalina/core/TestAsyncContextImpl.java b/test/org/apache/catalina/core/TestAsyncContextImpl.java
index 14a10525ab..42c188e6d4 100644
--- a/test/org/apache/catalina/core/TestAsyncContextImpl.java
+++ b/test/org/apache/catalina/core/TestAsyncContextImpl.java
@@ -303,6 +303,10 @@ public class TestAsyncContextImpl extends TomcatBaseTest {
result.append(req.isAsyncStarted());
} catch (NullPointerException npe) {
result.append("false");
+ } catch (Throwable t) {
+ // Additional debugging for intermittent test failure
+ result.append(t.getClass().getName());
+ t.printStackTrace();
}
done = true;
} catch (InterruptedException | IOException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org