@Test
public void delete() throws Exception {

  Job job = new Job();
  job.setJobId("9e93caeb-8a08-4278-a10a-ff60d5835716");
  job.setJobName("mnist");
  job.setJobNamespace("submarine");
  job.setUserName("JobServiceTest-UserName");
  job.setJobType("TFJob");
  job.setJobStatus("Finished");
  job.setJobFinalStatus("Succeeded");
  job.setCreateBy("JobServiceTest-UserName");
  Boolean ret = jobService.add(job);
  assertTrue(ret);
  Boolean deleteRet = jobService.delete(job.getId());
  assertTrue(deleteRet);
}