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 b9a644ba82 Fix test for 9.0.x b9a644ba82 is described below commit b9a644ba82806967844ae50936441aba91b93fdb Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Jun 13 18:20:47 2024 +0100 Fix test for 9.0.x --- test/org/apache/catalina/core/TestAprLifecycleListener.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/org/apache/catalina/core/TestAprLifecycleListener.java b/test/org/apache/catalina/core/TestAprLifecycleListener.java index 946d7bddd1..6ea614174c 100644 --- a/test/org/apache/catalina/core/TestAprLifecycleListener.java +++ b/test/org/apache/catalina/core/TestAprLifecycleListener.java @@ -38,15 +38,16 @@ public class TestAprLifecycleListener { private void doTestMultipleServerInstancesUsingTomcatNativeLibrary(boolean reverseShutdownOrder) throws Exception { Tomcat tomcat1 = new Tomcat(); + tomcat1.getServer().addLifecycleListener(new AprLifecycleListener()); tomcat1.setPort(0); TesterSupport.initSsl(tomcat1); - TesterSupport.configureSSLImplementation(tomcat1, OpenSSLImplementation.class.getName(), true); + TesterSupport.configureSSLImplementation(tomcat1, OpenSSLImplementation.class.getName()); tomcat1.init(); - Tomcat tomcat2 = new Tomcat(); + tomcat2.getServer().addLifecycleListener(new AprLifecycleListener()); tomcat2.setPort(0); TesterSupport.initSsl(tomcat2); - TesterSupport.configureSSLImplementation(tomcat2, OpenSSLImplementation.class.getName(), true); + TesterSupport.configureSSLImplementation(tomcat2, OpenSSLImplementation.class.getName()); tomcat2.init(); // Start 1, then 2 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org