Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 59302 invoked from network); 30 May 2007 17:03:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 May 2007 17:03:42 -0000 Received: (qmail 5255 invoked by uid 500); 30 May 2007 17:03:46 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 5236 invoked by uid 500); 30 May 2007 17:03:46 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 5221 invoked by uid 99); 30 May 2007 17:03:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2007 10:03:45 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2007 10:03:40 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 618E57141B3 for ; Wed, 30 May 2007 10:03:20 -0700 (PDT) Message-ID: <18929812.1180544600397.JavaMail.jira@brutus> Date: Wed, 30 May 2007 10:03:20 -0700 (PDT) From: "Roman S. Bushmanov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4005) [classlib][x-management] Wrong value of derived gauge in notifications issued by javax.management.monitor.CounterMonitor In-Reply-To: <32738299.1180543395897.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman S. Bushmanov updated HARMONY-4005: ---------------------------------------- Attachment: test.zip > [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: > > 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.