Class BaseTestContainer

java.lang.Object
io.trino.testing.containers.BaseTestContainer
All Implemented Interfaces:
AutoCloseable

public abstract class BaseTestContainer extends Object implements AutoCloseable
  • Constructor Details

  • Method Details

    • setupContainer

      protected void setupContainer()
    • withRunCommand

      protected void withRunCommand(List<String> runCommand)
    • copyFileToContainer

      protected void copyFileToContainer(String resourcePath, String dockerPath)
    • getMappedHostAndPortForExposedPort

      protected com.google.common.net.HostAndPort getMappedHostAndPortForExposedPort(int exposedPort)
    • start

      public void start()
    • stop

      public void stop()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable