Class Wait
- java.lang.Object
-
- org.testcontainers.containers.wait.strategy.Wait
-
- org.apache.camel.test.testcontainers.Wait
-
@Deprecated public class Wait extends org.testcontainers.containers.wait.strategy.Wait
Deprecated.Tests using this component should switch the test-infra. Please check the test-infra module for details and conversion procedures.
-
-
Constructor Summary
Constructors Constructor Description Wait()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.testcontainers.containers.wait.strategy.WaitStrategyforLogMessageContaining(String text, int times)Deprecated.Convenience method to return a WaitStrategy for log messages.static org.testcontainers.containers.wait.strategy.WaitStrategyforLogPredicate(Predicate<org.testcontainers.containers.output.OutputFrame> predicate, int times)Deprecated.Convenience method to return a WaitStrategy for log messages using a predicate.
-
-
-
Method Detail
-
forLogPredicate
public static org.testcontainers.containers.wait.strategy.WaitStrategy forLogPredicate(Predicate<org.testcontainers.containers.output.OutputFrame> predicate, int times)
Deprecated.Convenience method to return a WaitStrategy for log messages using a predicate.- Parameters:
predicate- the predicate to apply to log messagestimes- the number of times the pattern is expected- Returns:
- WaitStrategy
-
forLogMessageContaining
public static org.testcontainers.containers.wait.strategy.WaitStrategy forLogMessageContaining(String text, int times)
Deprecated.Convenience method to return a WaitStrategy for log messages.- Parameters:
text- the text to findtimes- the number of times the pattern is expected- Returns:
- WaitStrategy
-
-