Skip to content

Commit 5e92778

Browse files
authored
Merge branch 'main' into use_explicit_start_command
2 parents f1ffabe + e8bb83f commit 5e92778

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docs/modules/solr.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Solr Container
22

3-
!!! note
4-
This module is INCUBATING. While it is ready for use and operational in the current version of Testcontainers, it is possible that it may receive breaking changes in the future. See [our contributing guidelines](/contributing/#incubating-modules) for more information on our incubating modules policy.
5-
6-
7-
This module helps running [solr](https://lucene.apache.org/solr/) using Testcontainers.
3+
This module helps running [solr](https://solr.apache.org/) using Testcontainers.
84

95
Note that it's based on the [official Docker image](https://hub.docker.com/_/solr/).
106

modules/solr/src/main/java/org/testcontainers/containers/SolrContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ protected void waitUntilContainerStarted() {
143143
@SneakyThrows
144144
protected void containerIsStarted(InspectContainerResponse containerInfo) {
145145
if (!configuration.isZookeeper()) {
146-
ExecResult result = execInContainer("solr", "create_core", "-c", configuration.getCollectionName());
146+
ExecResult result = execInContainer("solr", "create", "-c", configuration.getCollectionName());
147147
if (result.getExitCode() != 0) {
148148
throw new IllegalStateException(
149149
"Unable to create solr core:\nStdout: " + result.getStdout() + "\nStderr:" + result.getStderr()

0 commit comments

Comments
 (0)