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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.1, 8.0
    • None
    • 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
          62 kB
          Steven Rowe
        2. SOLR-10916.patch
          60 kB
          Steven Rowe
        3. SOLR-10916.patch
          10 kB
          Steven Rowe

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sarowe Steven Rowe
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment