hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-2873) The MRV2 Web App Tests need to be imporved
Date Tue, 23 Aug 2011 17:52:29 GMT
The MRV2 Web App Tests need to be imporved

                 Key: MAPREDUCE-2873
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2873
             Project: Hadoop Map/Reduce
          Issue Type: Test
          Components: jobhistoryserver, mrv2
    Affects Versions: 0.23.0
            Reporter: Robert Joseph Evans
             Fix For: 0.23.0

The current set of unittests for the Application Master and the JobHistory server are very

They look like
    WebAppTests.testPage(JobPage.class, AppContext.class, new TestAppContext());

All this example does is render the Job Page with an fake application context, but the page
it is rendering does almost nothing.  Because no JobId is provided the test skips most of
JobPage.  All it does is verify that not exceptions are thrown when it should attempt to verify
that the correct data is returned.  

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message