public class Wait
extends org.testcontainers.containers.wait.strategy.Wait
Constructor and Description |
---|
Wait() |
Modifier and Type | Method and Description |
---|---|
static org.testcontainers.containers.wait.strategy.WaitStrategy |
forLogMessageContaining(String text,
int times)
Convenience method to return a WaitStrategy for log messages.
|
static org.testcontainers.containers.wait.strategy.WaitStrategy |
forLogPredicate(Predicate<org.testcontainers.containers.output.OutputFrame> predicate,
int times)
Convenience method to return a WaitStrategy for log messages using a predicate.
|
public static org.testcontainers.containers.wait.strategy.WaitStrategy forLogPredicate(Predicate<org.testcontainers.containers.output.OutputFrame> predicate, int times)
predicate
- the predicate to apply to log messagestimes
- the number of times the pattern is expectedpublic static org.testcontainers.containers.wait.strategy.WaitStrategy forLogMessageContaining(String text, int times)
text
- the text to findtimes
- the number of times the pattern is expectedApache Camel