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

TestSolrEntityProcessorEndToEnd fails if you have a running Solr instance

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.6
    • Component/s: None
    • Labels:
      None

      Description

      When running "ant test" from the command line in 3.x, if you have a Solr server running then TestSolrentityProcessorEndToEnd fails since it uses the default port (stack trace with "address already in use"). This should use some other port, especially as 3.x "ant test" is taking 50+ minutes and I often open up a server to look at something else.

      In 4.0, some of the cloud tests also use 8983 as a port. Should these be changed too?

      And just to make my life especially interesting, at least one test puts the string "8983" in a document, which doesn't have to be changed <G>...

      Of course one can start your local server on a different port, but this seems trappy.

        Attachments

        1. SOLR-3265.patch
          7 kB
          Luca Cavanna

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: