DataCalcJob.calcNow();
// wait for the job to finish - abort the test if it takes too long
assertTrue("Data calc job didn't complete in a timely fashion", latch.await(60, TimeUnit.SECONDS));
} finally {
schedulerBean.deleteJob(DataCalcJob.class.getName(), DataCalcJob.class.getName());
}
}
private void createNewTraitData(Resource res, long timestamp, int count) {