if (count++ > 100) {
throw new IllegalStateException("auditing-config did not finish in time");
}
}
count = 0;
while (!rm.listImports().contains(OsgiHelper.class.getName())) {
LOGGER.warn("waiting for auditing to finish init");
waitasec();
if (count++ > 100) {
throw new IllegalStateException("auditing-config did not finish in time");
}