clock.advance(1000);
job.finishTask(taskAttemptID[1]);
clock.advanceBySpeculativeLag();
//we should get a speculative task now
taskAttemptID[3] = job.findMapTask(trackers[3]);
int oldRunningMap = job.runningMaps();
LOG.info("No of running maps before fail was " + oldRunningMap);
job.failTask(taskAttemptID[2]);
assertEquals(
"Running maps count should be updated from " + oldRunningMap + " to " +