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 85af541bb1 Fix back-port of test
85af541bb1 is described below

commit 85af541bb13fdce551f3fdfdb47ed1a5beb34a2e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Feb 27 15:47:08 2023 +0000

    Fix back-port of test
---
 test/org/apache/tomcat/util/buf/TestMessageBytesIntegration.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/org/apache/tomcat/util/buf/TestMessageBytesIntegration.java 
b/test/org/apache/tomcat/util/buf/TestMessageBytesIntegration.java
index 64be05e036..0104d9b28e 100644
--- a/test/org/apache/tomcat/util/buf/TestMessageBytesIntegration.java
+++ b/test/org/apache/tomcat/util/buf/TestMessageBytesIntegration.java
@@ -102,5 +102,10 @@ public class TestMessageBytesIntegration extends 
TomcatBaseTest {
         public void contextInitialized(ServletContextEvent sce) {
             sce.getServletContext().setSessionTrackingModes(new 
HashSet<>(Arrays.asList(SessionTrackingMode.URL)));
         }
+
+        @Override
+        public void contextDestroyed(ServletContextEvent sce) {
+            // NO-OP
+        }
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to