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

Any Solr test using MiniSolrCloud or Solr Core's should extend SolrTestCaseJ4/SolrCloudTestCase

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1, master (8.0)
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      We have a non-trivial number of tests that extend LuceneTestCase directly.

      For "utility" method minded tests, this is fine - but for any test that wants to instantiate re-use shared config files to instantiate SolrCores, or instances of MiniSolrCloudCluster, this makes these tests really cumbersome to maintain and deal with because htye don't leverage the existing randomization setup logic in SolrTestCaseJ4.

      we should fix these tests where applicable

        Attachments

        1. SOLR-10916.patch
          10 kB
          Steve Rowe
        2. SOLR-10916.patch
          60 kB
          Steve Rowe
        3. SOLR-10916.patch
          62 kB
          Steve Rowe

          Activity

            People

            • Assignee:
              steve_rowe Steve Rowe
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: