[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-commits
Subject:    svn commit: r1426121 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/He
From:       rajdavies () apache ! org
Date:       2012-12-27 5:10:13
Message-ID: 20121227051013.E1918238890D () eris ! apache ! org
[Download RAW message or body]

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/apach \
e/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());
 
     }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic