[
https://issues.apache.org/jira/browse/MAPREDUCE-2873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated MAPREDUCE-2873:
----------------------------------------
Fix Version/s: (was: 0.24.0)
> 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
>
> The current set of unittests for the Application Master and the JobHistory
> server are very lacking.
> They look like
> {code}
> WebAppTests.testPage(JobPage.class, AppContext.class, new
> TestAppContext());
> {code}
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)