Class SolrContainer
java.lang.Object
org.testcontainers.containers.FailureDetectingExternalResource
io.redlink.utils.test.testcontainers.SolrContainer
- All Implemented Interfaces:
org.junit.rules.TestRule
public class SolrContainer
extends org.testcontainers.containers.FailureDetectingExternalResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
after()
protected void
before()
static SolrContainer
static SolrContainer
static SolrContainer
static SolrContainer
static SolrContainer
create
(String image, String collectionName, String confDir, File workingDir, Duration startupTimeout) static SolrContainer
static SolrContainer
static SolrContainer
protected void
finished
(org.junit.runner.Description description) protected void
starting
(org.junit.runner.Description description) Methods inherited from class org.testcontainers.containers.FailureDetectingExternalResource
apply, failed, succeeded
-
Constructor Details
-
SolrContainer
-
-
Method Details
-
starting
protected void starting(org.junit.runner.Description description) - Overrides:
starting
in classorg.testcontainers.containers.FailureDetectingExternalResource
-
before
- Throws:
IOException
-
finished
protected void finished(org.junit.runner.Description description) - Overrides:
finished
in classorg.testcontainers.containers.FailureDetectingExternalResource
-
after
protected void after() -
getCoreName
-
getSolrUrl
-
getCoreUrl
-
create
-
create
-
create
-
create
-
create
-
create
public static SolrContainer create(String image, String collectionName, String confDir, Duration startupTimeout) -
create
public static SolrContainer create(String image, String collectionName, String confDir, File workingDir) -
create
-