Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8025206

Intermittent test failure: javax/management/monitor/NullAttributeValueTest.java

    XMLWordPrintable

Details

    • b113
    • Not verified

    Backports

      Description

        TESTFAIL:javax/management/monitor/NullAttributeValueTest.java

        javax/management/monitor/NullAttributeValueTest.java failing intermittently:

        >>> ----------------------------------------
        >>> CREATE a new StringMonitor MBean
        >>> ADD a listener to the StringMonitor
        >>> CREATE a new ObservedObject MBean
        >>> SET the attributes of the StringMonitor:
        ATTRIBUTE "ObservedObject" = DefaultDomain:type=ObservedObject
        ATTRIBUTE "ObservedAttribute" = StringAttribute
        ATTRIBUTE "NotifyMatch" = true
        ATTRIBUTE "NotifyDiffer" = false
        ATTRIBUTE "StringToCompare" = "do_match_now"
        ATTRIBUTE "GranularityPeriod" = 500
        >>> START the StringMonitor
        KO: StringMonitor notification missed or not emitted
        >>> ----------------------------------------
        >>> Unhappy Bye, Bye!
        ----------System.err:(13/936)----------
        java.lang.IllegalStateException: Test FAILED: Didn't get all the notifications that were expected by the test!
        at NullAttributeValueTest.main(NullAttributeValueTest.java:346)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:491)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:724)

        Attachments

          Issue Links

            Activity

              People

                sjiang Shanliang Jiang (Inactive)
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: