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

There is a race around SocketProxy binding to it's port the way we setup JettySolrRunner and SocketProxy.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None

    Description

      I ran into this while working on SOLR-4509 and have a fix there in my latest patch. Because we get an available port by opening and closing a scocket on port 0 and then try to use it again with the SocketProxy, sometimes it fails to bind and the test can fail. We can change the code a bit so that the SocketProxy itself can start on port 0 rather than this two step fragile process.

      Attachments

        1. SOLR-6874.patch
          11 kB
          Timothy Potter

        Issue Links

          Activity

            People

              thelabdude Timothy Potter
              markrmiller@gmail.com Mark Miller
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: