You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Mahadev konar (Assigned) (JIRA)" <ji...@apache.org> on 2012/02/04 19:51:53 UTC

[jira] [Assigned] (MAPREDUCE-3723) TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests

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

Mahadev konar reassigned MAPREDUCE-3723:
----------------------------------------

    Assignee: Bhallamudi Venkata Siva Kamesh
    
> TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3723
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3723
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2, test, webapps
>    Affects Versions: 0.23.1, 0.24.0
>            Reporter: Bhallamudi Venkata Siva Kamesh
>            Assignee: Bhallamudi Venkata Siva Kamesh
>         Attachments: MAPREDUCE-3723.patch
>
>
> While testing a patch for one of the MR issues, I found TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests. 
> Moreover tests may fail if
> {noformat}
> 	index of counterGroups > #counters in a particular counterGroup
> {noformat}
> {code:title=TestAMWebServicesJobs.java|borderStyle=solid}
> for (int j = 0; j < counters.length(); j++) {
>  JSONObject counter = counters.getJSONObject(i);
> {code}
> where is *i* is index of outer loop. It should be *j* instead of *i*.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira