add a waituntil for job test