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

simplify and extend SolrTestCaseJ4.CloudSolrClientBuilder randomisation

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: None
    • Labels:
      None

      Description

      David Smiley wrote in SOLR-9090:

      Christine Poerschke I'm looking at SolrTestCaseJ4.CloudSolrClientBuilder. Instead of the somewhat complicated tracking using configuredDUTflag, couldn't you simply remove all that stuff and just modify the builder's constructor to randomize the settings?

      Furthermore, shouldn't shardLeadersOnly be randomized as well?

      This ticket is to follow-up on that suggestion since SOLR-9090 is already closed.

        Attachments

        1. SOLR-11507.patch
          2 kB
          Christine Poerschke
        2. SOLR-11507.patch
          13 kB
          David Smiley

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                cpoerschke Christine Poerschke
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: