Skip to content

Commit f1ffabe

Browse files
committed
in Solr 10 we require you to explicitly pass in the "start" command to start solr
1 parent 1a71125 commit f1ffabe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected void configure() {
111111
throw new IllegalStateException("Solr needs to have a configuration if you want to use a schema");
112112
}
113113
// Generate Command Builder
114-
String command = "solr -f";
114+
String command = "solr start -f";
115115
// Add Default Ports
116116
this.addExposedPort(SOLR_PORT);
117117

0 commit comments

Comments
 (0)