harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman S. Bushmanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4005) [classlib][x-management] Wrong value of derived gauge in notifications issued by javax.management.monitor.CounterMonitor
Date Wed, 30 May 2007 17:03:19 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Roman S. Bushmanov updated HARMONY-4005:
----------------------------------------

    Description: 
If the counter difference mode is used, CounterMonitor calculates the value of the derived
gauge incorrectly.
Notifications issued by counter monitor contain the last observed counter value as a derived
gaude value. The expected value is the difference betwen two successive observed counter values.

To reproduce the issue please run the attached testcase.
The expected output is 

Derived gauge: 2

Harmony produces the following instead:

<skipped>
Derived gauge: 3 

Affected tests
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceDontMonotonousTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceDontMonotonousVaryTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceMonotonousDontVaryTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceMonotonousTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/ThresholdsTest.xml
(see HARMONY-3528)

  was:
If the counter difference mode is used, CounterMonitor calculates the value of the derived
gauge incorrectly.
Notifications issued by counter monitor contain the last observed counter value as a derived
gaude value. The expected value is the difference betwen two successive observed counter values.

To reproduce the issue please run the attached testcase.
The expected output is 

Derived gauge: 2

Harmony produces the following instead:

<skipped>
Derived gauge: 3 

Affected tests
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceDontMonotonousTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceDontMonotonousVaryTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceMonotonousDontVaryTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceMonotonousTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/GetterSetterTest.xml
functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/ThresholdsTest.xml
(see HARMONY-3528)


>  [classlib][x-management] Wrong value of derived gauge in notifications issued by  javax.management.monitor.CounterMonitor
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4005
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4005
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Roman S. Bushmanov
>         Attachments: test.zip
>
>
> If the counter difference mode is used, CounterMonitor calculates the value of the derived
gauge incorrectly.
> Notifications issued by counter monitor contain the last observed counter value as a
derived gaude value. The expected value is the difference betwen two successive observed counter
values.
> To reproduce the issue please run the attached testcase.
> The expected output is 
> Derived gauge: 2
> Harmony produces the following instead:
> <skipped>
> Derived gauge: 3 
> Affected tests
> functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceDontMonotonousTest.xml
> functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceDontMonotonousVaryTest.xml
> functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceMonotonousDontVaryTest.xml
> functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/DifferenceMonotonousTest.xml
> functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/ThresholdsTest.xml
> (see HARMONY-3528)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message