MAPREDUCE-6798. Fix intermittent failure of TestJobHistoryParsing.testJobHistoryMethods (Haibo Chen via Varun Saxena)
This commit is contained in:
parent
65c009ca00
commit
14ce42a8ed
|
@ -772,6 +772,8 @@ public class TestJobHistoryParsing {
|
|||
app.submit(configuration);
|
||||
Job job = app.getContext().getAllJobs().values().iterator().next();
|
||||
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