re-applied fix by dejanb

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1426121 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2012-12-27 05:10:13 +00:00
parent d0fb549f2c
commit f0baf856d7
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class HealthViewMBeanTest extends EmbeddedBrokerTestSupport {
);
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());
}