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

Fix test failure due to not substituting in system properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3, 6.0
    • Fix Version/s: 4.4, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      When we look at old-style solr.xml files, we try to test whether more than one core points to the same data dir. When constructing the paths, we need to substitute in any system-defined properties.

      This happens to work fine on a Mac (and unix in general?) but results in an illegal file name exception on Windows machines.

        Attachments

        1. SOLR-4849.patch
          3 kB
          Erick Erickson
        2. SOLR-4849.patch
          3 kB
          Erick Erickson
        3. SOLR-4849.patch
          4 kB
          Erick Erickson
        4. 4849-testoutput.txt
          33 kB
          Shawn Heisey

          Issue Links

            Activity

              People

              • Assignee:
                erickerickson Erick Erickson
                Reporter:
                erickerickson Erick Erickson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: