Class InfinispanGenericContainer

java.lang.Object
org.infinispan.server.test.core.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 Details

    • InfinispanGenericContainer

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

    • getContainerId

      public String getContainerId()
    • 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()
    • getIpAddress

      public InetAddress getIpAddress()
    • getNetworkIpAddress

      public String getNetworkIpAddress()
    • containerInfo

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

      public String getLogs()
    • getMappedPort

      public int getMappedPort(int port)
    • withLogConsumer

      public void withLogConsumer(CountdownLatchLoggingConsumer latch)