throws InterruptedException, BrokenBarrierException
{
final CyclicBarrier cyclicBarrier = new CyclicBarrier(2);
final ConsumerBarrier<StubEntry> consumerBarrier = ringBuffer.createConsumerBarrier(new Consumer[0]);
final Future<List<StubEntry>> f = EXECUTOR.submit(new TestWaiter(cyclicBarrier, consumerBarrier, initial, toWaitFor));
cyclicBarrier.await();
return f;
}