});
}
assertEquals(0, threadsRun.get());
ctx.startThreads();
long st = System.currentTimeMillis();
ctx.waitFor(30000);
long et = System.currentTimeMillis();
// All threads should have run
assertEquals(3, threadsRun.get());
// Test shouldn't have waited the full 30 seconds, since