Class Containers


  • @Deprecated
    public final class Containers
    extends Object
    Deprecated.
    Tests using this component should switch the test-infra. Please check the test-infra module for details and conversion procedures.
    • Method Detail

      • start

        public static void start​(List<org.testcontainers.containers.GenericContainer<?>> containers,
                                 org.testcontainers.containers.Network network,
                                 long timeout)
                          throws Exception
        Deprecated.
        Throws:
        Exception
      • stop

        public static void stop​(List<org.testcontainers.containers.GenericContainer<?>> containers,
                                long timeout)
                         throws Exception
        Deprecated.
        Throws:
        Exception
      • lookup

        public static org.testcontainers.containers.GenericContainer<?> lookup​(List<org.testcontainers.containers.GenericContainer<?>> containers,
                                                                               String containerName)
        Deprecated.