return !failed ? new JobTimings(initTime, testTime) : null;
log.info("Getting result"); JobResult res = new JobResult(); res.failed = failed; if (res.failed) { log.info("Failed"); res.throwables = throwables; } else { log.info("Didn't fail"); res.initTime = initTime; res.testTime = testTime; }  return res;
   public Object getResult()   {      return !failed ? new JobTimings(initTime, testTime) : null;   }