diff --git a/jetty-jmx/src/test/java/org/eclipse/jetty/jmx/ObjectMBeanTest.java b/jetty-jmx/src/test/java/org/eclipse/jetty/jmx/ObjectMBeanTest.java index 4e88e029c78..f2059b8a3e1 100644 --- a/jetty-jmx/src/test/java/org/eclipse/jetty/jmx/ObjectMBeanTest.java +++ b/jetty-jmx/src/test/java/org/eclipse/jetty/jmx/ObjectMBeanTest.java @@ -89,9 +89,9 @@ public class ObjectMBeanTest //} /* - * 1 attribute from lifecycle and 2 from Derived and 1 from MBean + * 2 attributes from lifecycle and 2 from Derived and 1 from MBean */ - Assert.assertEquals("attribute count does not match", 4, info.getAttributes().length); + Assert.assertEquals("attribute count does not match", 5, info.getAttributes().length); Assert.assertEquals("attribute values does not match", "Full Name", mbean.getAttribute("fname") );