Class MultiSolrCloudTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.tests.util.LuceneTestCase
org.apache.solr.SolrTestCase
org.apache.solr.SolrTestCaseJ4
org.apache.solr.cloud.MultiSolrCloudTestCase

public abstract class MultiSolrCloudTestCase extends SolrTestCaseJ4
Base class for tests that require more than one SolrCloud

Derived tests should call doSetupClusters(String[], Function, BiConsumer) in a BeforeClass static method. This configures and starts the MiniSolrCloudCluster instances, available via the clusterId2cluster variable. The clusters' shutdown is handled automatically.