tomcat-dev mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=940306&view=rev
Log:
Increase the threshold to try and catch if MBean registration breaks and MBeans don't get
registered.

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=940306&r1=940305&r2=940306&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java (original)
+++ tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java Sun May  2 19:13:34
2010
@@ -56,7 +56,7 @@ public class RegistrationTest extends To
 
         // Verify there are some Tomcat MBeans
         onames = mbeanServer.queryNames(new ObjectName("Tomcat:*"), null);
-        assertTrue("No Tomcat MBeans", onames.size() > 0);
+        assertTrue("No Tomcat MBeans", onames.size() >= 20);
 
         tomcat.stop();
 



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


Mime
View raw message