when(ctx.getFireTime()).thenReturn(new Date());
when(ctx.getJobRunTime()).thenReturn(1000L);
when(ctx.getResult()).thenReturn(longstr);
JobStatus status = newJobStatus().owner("terps").create();
status.update(ctx);
curator.merge(status);
}
@Test
public void findWaitingJobsTest() {