This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new a9e48f637e Additional debug logging for intermittent test failure
a9e48f637e is described below

commit a9e48f637eda16d1f298c666e69a4958d3c965ec
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 79c22f3b7e..23f36dfb60 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to