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/06/02 07:08:29 UTC
[tomcat] branch main updated: Fix failing test
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 6ddeee63fa Fix failing test
6ddeee63fa is described below
commit 6ddeee63faa55ff6c5e20ce056867a44b2ba9f6c
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jun 2 08:08:22 2023 +0100
Fix failing test
---
test/org/apache/catalina/valves/TestPersistentValve.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/org/apache/catalina/valves/TestPersistentValve.java b/test/org/apache/catalina/valves/TestPersistentValve.java
index 648c46dd8f..b50c17b0cb 100644
--- a/test/org/apache/catalina/valves/TestPersistentValve.java
+++ b/test/org/apache/catalina/valves/TestPersistentValve.java
@@ -45,6 +45,9 @@ public class TestPersistentValve {
pv.setContainer(request.getContext());
pv.setNext(testerValve);
+ // Call the necessary lifecycle methods
+ pv.init();
+
// Run the test
Thread[] threads = new Thread[5];
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org