tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r940282 - /tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java
Date Sun, 02 May 2010 18:02:35 GMT
Author: markt
Date: Sun May  2 18:02:34 2010
New Revision: 940282

URL: http://svn.apache.org/viewvc?rev=940282&view=rev
Log:
Add call to destroy() that should unregister all the MBeans

Modified:
    tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java

Modified: tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java?rev=940282&r1=940281&r2=940282&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java (original)
+++ tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java Sun May  2 18:02:34
2010
@@ -77,6 +77,7 @@ public class RegistrationTest extends To
         
         tomcat.start();
         tomcat.stop();
+        tomcat.destroy();
 
         // There should be no Catalina MBeans and no Tomcat MBeans
         onames = mbeanServer.queryNames(new ObjectName("Catalina:*"), null);



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


Mime
View raw message