RE: SolrCloud App Unit Testing

2016-03-20 Thread Davis, Daniel (NIH/NLM) [C]
MiniSolrCloudCluster is intended for building unit tests for cloud commands within Solr itself. What most people do to test applications based on Solr (and their Solr configurations) is to start solr either on their CI server or in the cloud (more likely the later), and then point their applica

Re: SolrCloud App Unit Testing

2016-03-19 Thread Steve Davids
Naveen, The Solr codebase generally uses the base “SolrTestCaseJ4” class and sometimes mixes in the cloud cluster. I personally write a generic abstract base test class to fit my needs and have an abstract `getSolrServer` method with an EmbeddedSolrServer implementation along with a separate im