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 d3d2e63fe1 Additional debug logging for intermittent test failure
d3d2e63fe1 is described below

commit d3d2e63fe102ca65e88b4440df1d66d85a07ac9b
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 762371cad3..cf96376c9a 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