MAPREDUCE-6798. Fix intermittent failure of TestJobHistoryParsing.testJobHistoryMethods (Haibo Chen via Varun Saxena)
This commit is contained in:
parent
77f2684dd3
commit
4e403def80
@ -776,6 +776,8 @@ public void testJobHistoryMethods() throws Exception {
|
|||||||
JobId jobId = job.getID();
|
JobId jobId = job.getID();
|
||||||
LOG.info("JOBID is " + TypeConverter.fromYarn(jobId).toString());
|
LOG.info("JOBID is " + TypeConverter.fromYarn(jobId).toString());
|
||||||
app.waitForState(job, JobState.SUCCEEDED);
|
app.waitForState(job, JobState.SUCCEEDED);
|
||||||
|
// make sure job history events are handled
|
||||||
|
app.waitForState(Service.STATE.STOPPED);
|
||||||
|
|
||||||
JobHistory jobHistory = new JobHistory();
|
JobHistory jobHistory = new JobHistory();
|
||||||
jobHistory.init(configuration);
|
jobHistory.init(configuration);
|
||||||
|
Loading…
Reference in New Issue
Block a user