activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r1426121 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java
Date Thu, 27 Dec 2012 05:10:13 GMT
Author: rajdavies
Date: Thu Dec 27 05:10:13 2012
New Revision: 1426121

URL: http://svn.apache.org/viewvc?rev=1426121&view=rev
Log:
re-applied fix by dejanb

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java?rev=1426121&r1=1426120&r2=1426121&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/HealthViewMBeanTest.java
Thu Dec 27 05:10:13 2012
@@ -94,7 +94,7 @@ public class HealthViewMBeanTest extends
         );
         HealthViewMBean health =  MBeanServerInvocationHandler.newProxyInstance(mbeanServer,
brokerName, HealthViewMBean.class, true);
         List<HealthStatus> list = health.healthList();
-        assertTrue("There should be at least two statuses", list.size() >= 2);
+        assertEquals(2,list.size());
 
     }
 



Mime
View raw message