Class 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.
       
    • Constructor Detail

      • Wait

        public Wait()
        Deprecated.
    • 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 messages
        times - 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 find
        times - the number of times the pattern is expected
        Returns:
        WaitStrategy