hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3723) TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests
Date Sun, 05 Feb 2012 14:11:55 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200780#comment-13200780
] 

Hudson commented on MAPREDUCE-3723:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #980 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/980/])
    MAPREDUCE-3723. TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting
tests (Bhallamudi Venkata Siva Kamesh via mahadev)

mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1240590
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/webapp/TestAMWebServicesJobs.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/webapp/TestHsWebServicesJobs.java

                
> 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
>             Fix For: 0.23.1
>
>         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

        

Mime
View raw message