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

Relative SolrHome Path Bug At AbstractFullDistribZkTestBase

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.6.1, 4.7
    • 4.8, 6.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shalin Shalin Shekhar Mangar
            kamaci Furkan Kamaci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment