Apache Solr open-source search software
SOLR-4756: Change some of our existing tests to use the new solr.xml format and core discovery by directory structure.
Mark Robert Miller7b783b312c1f
diff --git a/solr/core/src/test-files/solr/solr-no-core.xml b/solr/core/src/test-files/solr/solr-no-core.xmlindex 986bc221e1a..3dbbe5b21c7 100644--- a/solr/core/src/test-files/solr/solr-no-core.xml+++ b/solr/core/src/test-files/solr/solr-no-core.xml@@ -16,26 +16,23 @@limitations under the License.-->-<!--- All (relative) paths are relative to the installation path-- persistent: Save changes made via the API to this file- sharedLib: path to a lib directory that will be shared across all cores--->-<solr persistent="${solr.xml.persist:false}">+<solr>++ <str name="shareSchema">${shareSchema:false}</str>++ <solrcloud>+ <str name="host">127.0.0.1</str>+ <str name="hostContext">${hostContext:solr}</str>+ <int name="hostPort">${hostPort:8983}</int>+ <int name="zkClientTimeout">${solr.zkclienttimeout:30000}</int>+ <int name="distribUpdateConnTimeout">${distribUpdateConnTimeout:15000}</int>+ <int name="distribUpdateSoTimeout">${distribUpdateSoTimeout:120000}</int>+ </solrcloud>- <!--- adminPath: RequestHandler path to manage cores.- If 'null' (or absent), cores will not be manageable via request handler- -->- <cores adminPath="/admin/cores" defaultCoreName="collection1" host="127.0.0.1" hostPort="${hostPort:8983}"- hostContext="${hostContext:solr}" zkClientTimeout="${solr.zkclienttimeout:30000}" numShards="${numShards:3}" shareSchema="${shareSchema:false}"- distribUpdateConnTimeout="${distribUpdateConnTimeout:15000}" distribUpdateSoTimeout="${distribUpdateSoTimeout:120000}">+ <shardHandlerFactory name="shardHandlerFactory"+ class="HttpShardHandlerFactory">+ <int name="socketTimeout">${socketTimeout:120000}</int>+ <int name="connTimeout">${connTimeout:15000}</int>+ </shardHandlerFactory>- <shardHandlerFactory name="shardHandlerFactory" class="HttpShardHandlerFactory">- <int name="socketTimeout">${socketTimeout:120000}</int>- <int name="connTimeout">${connTimeout:15000}</int>- </shardHandlerFactory>- </cores>--</solr>+</solr>\ No newline at end of file