Class AbstractCollectionsAPIDistributedZkTestBase

java.lang.Object
org.junit.Assert
org.apache.lucene.tests.util.LuceneTestCase
org.apache.solr.SolrTestCase
org.apache.solr.SolrTestCaseJ4
org.apache.solr.cloud.SolrCloudTestCase
org.apache.solr.cloud.api.collections.AbstractCollectionsAPIDistributedZkTestBase

public abstract class AbstractCollectionsAPIDistributedZkTestBase extends SolrCloudTestCase
Tests the Cloud Collections API.

Because the different setups require distinct config-sets, we have to push down cluster creation to subclasses

  • Constructor Details

    • AbstractCollectionsAPIDistributedZkTestBase

      public AbstractCollectionsAPIDistributedZkTestBase()
  • Method Details

    • setupCluster

      public static void setupCluster()
    • tearDown

      public void tearDown() throws Exception
      Overrides:
      tearDown in class SolrTestCaseJ4
      Throws:
      Exception
    • testCreationAndDeletion

      public void testCreationAndDeletion() throws Exception
      Throws:
      Exception
    • deleteCollectionRemovesStaleZkCollectionsNode

      public void deleteCollectionRemovesStaleZkCollectionsNode() throws Exception
      Throws:
      Exception
    • deletePartiallyCreatedCollection

      public void deletePartiallyCreatedCollection() throws Exception
      Throws:
      Exception
    • deleteCollectionOnlyInZk

      public void deleteCollectionOnlyInZk() throws Exception
      Throws:
      Exception
    • testBadActionNames

      public void testBadActionNames()
    • testMissingRequiredParameters

      public void testMissingRequiredParameters()
    • testMissingNumShards

      public void testMissingNumShards()
    • testZeroNumShards

      public void testZeroNumShards()
    • testCreateShouldFailOnExistingCore

      public void testCreateShouldFailOnExistingCore() throws Exception
      Throws:
      Exception
    • testNoConfigSetExist

      public void testNoConfigSetExist() throws Exception
      Throws:
      Exception
    • testCoresAreDistributedAcrossNodes

      public void testCoresAreDistributedAcrossNodes() throws Exception
      Throws:
      Exception
    • testDeleteNonExistentCollection

      public void testDeleteNonExistentCollection() throws Exception
      Throws:
      Exception
    • testSpecificConfigsets

      public void testSpecificConfigsets() throws Exception
      Throws:
      Exception
    • testCreateNodeSet

      public void testCreateNodeSet() throws Exception
      Throws:
      Exception
    • testCollectionsAPI

      public void testCollectionsAPI() throws Exception
      Throws:
      Exception
    • testCollectionReload

      public void testCollectionReload() throws Exception
      Throws:
      Exception
    • addReplicaTest

      public void addReplicaTest() throws Exception
      Throws:
      Exception