Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12385

Tests extending SolrTestCaseHS should be cut over to SolrCloudTestCase, and unique SolrTestCaseHS functionality should be folded into the standard test infrastructure

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Tests
    • None

    Description

      SolrTestCaseHS is extended only by JSON facet and JSON request tests.

      SolrTestCaseHS was introduced with JSON faceting in SOLR-7214 (I believe "HS" is short for HelioSearch, where the functionality was originally developed). It appears to enable a primitive distributed functionality, with no ZooKeeper, allowing tight control of document distribution, like SolrCloud's implicit routing.  Some JSON-specific handling stuff in there too, which I think could be relocated to JSONTestUtil.

      Alan Woodward and others did a bunch of test conversions to SolrCloudTestCase (e.g. SOLR-9132, SOLR-9110, SOLR-9065), but AFAICT never mentioned SolrTestCaseHS-based tests as a target.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: