Package io.trino.testing.assertions
Class Assert
java.lang.Object
io.trino.testing.assertions.Assert
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Exception>
voidassertEventually(io.airlift.units.Duration timeout, io.airlift.units.Duration retryFrequency, Assert.CheckedRunnable<E> assertion) static <E extends Exception>
voidassertEventually(io.airlift.units.Duration timeout, Assert.CheckedRunnable<E> assertion) static <E extends Exception>
voidassertEventually(Assert.CheckedRunnable<E> assertion)
-
Method Details
-
assertEventually
public static <E extends Exception> void assertEventually(Assert.CheckedRunnable<E> assertion) throws E - Throws:
E extends Exception
-
assertEventually
public static <E extends Exception> void assertEventually(io.airlift.units.Duration timeout, Assert.CheckedRunnable<E> assertion) throws E - Throws:
E extends Exception
-
assertEventually
public static <E extends Exception> void assertEventually(io.airlift.units.Duration timeout, io.airlift.units.Duration retryFrequency, Assert.CheckedRunnable<E> assertion) throws E - Throws:
E extends Exception
-