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:45 UTC
[tomcat] branch 9.0.x updated: Fix failing test
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 6b773aa12b Fix failing test
6b773aa12b is described below
commit 6b773aa12b03bb4d81b443bd90e82c9bc195afe9
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 b53f85c05e..a77ba7476c 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