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

Give DistributedSearchTestCase / JettySolrRunner the ability to specify extra filters

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7, 6.0
    • Fix Version/s: 4.7, 6.0
    • Component/s: Tests
    • Labels:
      None

      Description

      I want to write a test case based around my own custom request handler using AbstractFullDistribZkTestBase. The issue I'm running into is that for my request handler to work properly, it requires a custom filter to set some properties on the HttpServletRequest.

      AbstractFullDistribZkTestBase allows one to specify extra servlets, but not extra filters on the root servlet. It would be useful to allow the user to specify extra filters that run before the SolrDispatchFilter.

        Attachments

        1. SOLR-5548.patch
          7 kB
          Gregory Chanan

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              gchanan Gregory Chanan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: