Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7029

Test org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase(profileservice).testThreadMXBean fails on JDK6

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossAS-5.1.0.GA
    • Fix Version/s: 6.0.0.M1
    • Component/s: Test Suite
    • Labels:
      None
    • Environment:

      Windows and Linux
      JDK6

      Description

      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>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  emuckenhuber Emanuel Muckenhuber
                  Reporter:
                  pslavicek Pavel Slavicek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: