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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.M1
    • JBossAS-5.1.0.GA
    • Test Suite
    • None

      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>

            emuckenhuber_jira Emanuel Muckenhuber (Inactive)
            pslavice@redhat.com Pavel Slavicek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: