Solr
  1. Solr
  2. SOLR-4849

Fix test failure due to not substituting in system properties

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3, 5.0
    • Fix Version/s: 4.4, 5.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.

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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development