barrier.await(Timeout.standardTimeoutMillis(), TimeUnit.MILLISECONDS);
barrier.reset();
watchdog.jobExecutionStarted(JOB);
watchdog.jobExecutionStopped();
barrier.await(Timeout.standardTimeoutMillis() * 2, TimeUnit.MILLISECONDS);
watchdog.jobExecutionStarted(JOB);
watchdog.jobExecutionStopped();
} catch (final Exception e) {
throw new OpenGammaRuntimeException("exception", e);
}
}