if (++count > MAX_SLEEP_COUNT) {
fail("Too much time sleeping");
}
}
lp1.startIteration(1);
lp1.startIteration(1);
count = 0;
while (server.finishedIterationCount() < 1) {
Thread.sleep(5);
if (++count > MAX_SLEEP_COUNT) {
fail("Too much time sleeping");