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

Relative SolrHome Path Bug At AbstractFullDistribZkTestBase

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.6.1, 4.7
    • Fix Version/s: 4.8, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      getRelativeSolrHomePath method at AbstractFullDistribZkTestBase has a control like that:

      if (base.startsWith("."));
      base.replaceFirst("\\.", new File(".").getName());
      

      if statement does nothing and result of replaceFirst is ignored.

        Attachments

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              kamaci Furkan KAMACI
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: