}
}
try {
log.debug("Deleting job {}", id);
final JobDeleteResponse response = get(client.deleteJob(id));
if (response.getStatus() != JobDeleteResponse.Status.OK &&
response.getStatus() != JobDeleteResponse.Status.JOB_NOT_FOUND) {
errors.add(new AssertionError(format("Failed to delete job %s - %s",
id.toString(), response.toString())));
}
} catch (InterruptedException | ExecutionException | TimeoutException e) {
errors.add(new AssertionError(e));
}