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 class TestJobHistoryParsing {
|
|||
JobId jobId = job.getID();
|
||||
LOG.info("JOBID is " + TypeConverter.fromYarn(jobId).toString());
|
||||
app.waitForState(job, JobState.SUCCEEDED);
|
||||
// make sure job history events are handled
|
||||
app.waitForState(Service.STATE.STOPPED);
|
||||
|
||||
JobHistory jobHistory = new JobHistory();
|
||||
jobHistory.init(configuration);
|
||||
|
|
Loading…
Reference in New Issue