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

Tests configure Jetty differently than when running via start.jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.4, 8.3.1
    • Component/s: None
    • Labels:
      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

              • Assignee:
                janhoy Jan Høydahl
                Reporter:
                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