epugh commented on code in PR #3512:
URL: https://github.com/apache/solr/pull/3512#discussion_r2307750235


##########
solr/packaging/test/test_start_solr.bats:
##########
@@ -93,3 +93,17 @@ teardown() {
   solr start --jettyconfig "--module=server"
   solr assert --started http://localhost:${SOLR_PORT} --timeout 5000
 }
+
+@test "bootstrap configset using bootstrap_confdir and collection.configName" {
+  local 
confdir_path="${SOLR_TIP}/server/solr/configsets/sample_techproducts_configs/conf"
+  test -d "${confdir_path}"
+  
+  # This uploads the sample_techproducts_configs/conf directory as 
"techproducts_bootstrapped" configset
+  solr start -Dbootstrap_confdir="${confdir_path}" 
-Dcollection.configName=techproducts_bootstrapped
+  solr assert --started http://localhost:${SOLR_PORT} --timeout 5000
+  
+  # Allow time for the configset upload to complete
+  sleep 1

Review Comment:
   I just figured out what you mean by this comment...  thanks!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to