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

Add all known transformers to TestRandomFlRTGCloud and fix any bugs found

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      SOLR-9285 is/has added a new TestRandomFlRTGCloud for testing out random permutations of fl params in RTG requests.

      simple field names, field renames, field globs, and ValueSources/functions are already tested – adding additional DocTransformers is fairly straight forward by implementing a simple FlValidator.

      This issue is being filed to track the work needed to:

      • review the list of all DocTransformers in solr and add test coverage of them in this method
      • file any blocker issues if new bugs are found in this process
      • once all DocTransformers are accounted for, update TestRandomFlRTGCloud to programatically compare the list of FlValidator's it knows about with the list of all DocTransformers (similar to how QueryEqualityTest.testParserCoverage works) to fail the test if anyone adds a DocTransformer w/o adding corisponding test coverage to this class.

        Attachments

        1. SOLR-9314.patch
          18 kB
          Chris M. Hostetter
        2. SOLR-9314.patch
          26 kB
          Chris M. Hostetter
        3. SOLR-9314.patch
          28 kB
          Chris M. Hostetter

          Issue Links

            Activity

              People

              • Assignee:
                hossman Chris M. Hostetter
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: