Class InfinispanGenericContainer


  • public class InfinispanGenericContainer
    extends Object
    We can stop a container by doing rest calls. In this case, the TestContainers will have a wrong state. Also, the TestContainers stop method is killing the container. See: https://github.com/testcontainers/testcontainers-java/issues/2608
    • Constructor Detail

      • InfinispanGenericContainer

        public InfinispanGenericContainer​(org.testcontainers.containers.GenericContainer genericContainer)
    • Method Detail

      • pause

        public void pause()
      • resume

        public void resume()
      • stop

        public void stop()
      • kill

        public void kill()
      • isRunning

        public boolean isRunning()
      • isPaused

        public boolean isPaused()
      • getContainerNetwork

        public com.github.dockerjava.api.model.ContainerNetwork getContainerNetwork()
      • getNetworkIpAddress

        public String getNetworkIpAddress()
      • containerInfo

        public com.github.dockerjava.api.command.InspectContainerResponse containerInfo()
      • getLogs

        public String getLogs()
      • getMappedPort

        public int getMappedPort​(int port)