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

Tests configure Jetty differently than when running via start.jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.3.1, 8.4
    • None
    • None

    Description

      Spinoff from SOLR-13905.

      There seems to be a slightly different configuration of our servlets when Solr is run from command line and through Test-runner for our tests.

      This causes different behavior of httpRequest.getPathInfo and httpRequest.getServletPath() in the two environments, making it hard to depend on these in critical code paths, such as SolrDispatchFilter and AuditEvent.

      Attachments

        1. SOLR-13941.patch
          1 kB
          Jan Høydahl

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h