Package org.infinispan.server.test.core
Class InfinispanGenericContainer
java.lang.Object
org.infinispan.server.test.core.InfinispanGenericContainer
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 Summary
ConstructorsConstructorDescriptionInfinispanGenericContainer(org.testcontainers.containers.GenericContainer genericContainer) -
Method Summary
-
Constructor Details
-
InfinispanGenericContainer
public InfinispanGenericContainer(org.testcontainers.containers.GenericContainer genericContainer)
-
-
Method Details
-
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
-
getNetworkIpAddress
-
containerInfo
public com.github.dockerjava.api.command.InspectContainerResponse containerInfo() -
getLogs
-
getMappedPort
public int getMappedPort(int port) -
withLogConsumer
-