You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/09/13 00:31:09 UTC
[jira] [Created] (HADOOP-7627) Improve MetricsAsserts to give more
understandable output on failure
Improve MetricsAsserts to give more understandable output on failure
--------------------------------------------------------------------
Key: HADOOP-7627
URL: https://issues.apache.org/jira/browse/HADOOP-7627
Project: Hadoop Common
Issue Type: Improvement
Components: metrics, test
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Priority: Minor
In developing a test case that uses MetricsAsserts, I had two issues:
1) the error output in the case that an assertion failed does not currently give any information as to the _actual_ value of the metric
2) there is no way to retrieve the metric variable (eg to assert that the sum of a metric over all DNs is equal to some value)
This JIRA is to improve this test class to fix the above issues.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira