diff --git a/solr/core/src/test-files/solr/configsets/_default/conf/solrconfig.xml b/solr/core/src/test-files/solr/configsets/_default/conf/solrconfig.xml index acf95bad209..09d8e5ab10d 100644 --- a/solr/core/src/test-files/solr/configsets/_default/conf/solrconfig.xml +++ b/solr/core/src/test-files/solr/configsets/_default/conf/solrconfig.xml @@ -24,7 +24,7 @@ ${tests.luceneMatchVersion:LATEST} - This is the _default configset, which is designed to throw error upon collection creation. + This is the _default configset, which is designed to throw error upon collection creation from unit tests. If you see this error while running a unit test, you might want to explicitly specify the configset (when creating a collection) you intend to use (usually named "conf1" or "conf" etc.). diff --git a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java index 9c414cc5f28..a4ed93f4ce1 100644 --- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java @@ -71,7 +71,7 @@ public class CollectionsAPISolrJTest extends SolrCloudTestCase { System.out.println("Errors are: "+response.getErrorMessages()); assertTrue(response.getErrorMessages() != null && response.getErrorMessages().size() > 0); assertTrue(response.getErrorMessages().getVal(0).contains("This is the _default configset, which is designed" - + " to throw error upon collection creation.")); + + " to throw error upon collection creation")); } @Test