Test
org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase(profileservice).testThreadMXBean
fails on JDK6
----------------------------------------------------------------------------------------------------------------
Key: JBAS-7029
URL:
https://jira.jboss.org/jira/browse/JBAS-7029
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-5.1.0.GA
Environment: Windows and Linux
JDK6
Reporter: Pavel Slavicek
Assignee: Shelly McGowan
Test
org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase(profileservice).testThreadMXBean
fails on JDK6 on line
Set<ManagedOperation> ops = mo.getOperations();
log.debug(ops);
assertEquals("Ops count is 8", 8, ops.size());
JDK6 contains JMX 1.4 and ThreadMXBean has 11 operations.
Test log:
junit.framework.AssertionFailedError: Ops count is 8 expected:<8> but
was:<11>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira