risdenk commented on code in PR #1923:
URL: https://github.com/apache/solr/pull/1923#discussion_r1326008436
##########
solr/packaging/build.gradle:
##########
@@ -238,6 +238,7 @@ task integrationTests(type: BatsTask) {
def integrationTestOutput = "$buildDir/test-output"
def solrHome = "$integrationTestOutput/solr-home"
def solrTestFailuresDir = "$integrationTestOutput/failure-snapshots"
+ def solrPort = new Random().nextInt(10000, 50000)
Review Comment:
not really - even
https://stackoverflow.com/questions/2675362/how-to-find-an-available-port which
is used elsewhere in Solr doesn't guarantee that port won't be used immediately
after. Its an idea though
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]