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

clean up tests use of network addresses

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.4
    • None
    • None

    Description

      Motivated by this tweet: https://twitter.com/ichattopadhyaya/status/1204274908454219778

      I think we should clean up the "connect/resolve anywhere" security permissions in the tests and make it stricter like lucene. This way we can prevent tests from doing slow things now or in the future.

      The biggest issue I see exploring this so far is solr has lots of tests that want to hit a "dead" node. If you get lucky test passes quickly. If you get unlucky (e.g. it tries to route that multicast ipv6 address somewhere?) then it passes slowly or maybe even times out or misbehaves.

      I think, depending on the networking environment (e.g. working ipv6 or not, maybe OS), the current way its being done can be terribly slow. I have some ideas, just need to do some testing.

      Attachments

        1. SOLR-14050.patch
          15 kB
          Robert Muir

        Issue Links

          Activity

            People

              rcmuir Robert Muir
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: