Class CyclicBarrierUtils
java.lang.Object
org.elasticsearch.common.util.concurrent.CyclicBarrierUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
await
(CyclicBarrier cyclicBarrier) Await the givenCyclicBarrier
, failing the test after 10s with anAssertionError
.
-
Method Details
-
await
Await the givenCyclicBarrier
, failing the test after 10s with anAssertionError
. Tests should not wait forever, so a timed wait is always appropriate.
-