hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhallamudi Venkata Siva Kamesh (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-3723) TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests
Date Wed, 25 Jan 2012 11:58:40 GMT
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


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