You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "janhoy (via GitHub)" <gi...@apache.org> on 2026/01/16 08:47:05 UTC
[PR] Smoketester now finds an available port if 8983 is busy [solr]
janhoy opened a new pull request, #4055:
URL: https://github.com/apache/solr/pull/4055
This PR makes the smoke tester use a random port instead of relying on hardcoded port 8983.
The benefit is that smoke tester is more resilient both on developer machine during release, where there can often be a Solr running on 8983, and in Jenkins, where you share host with many other jobs, even other Solr jobs.
This patch will
* Select a random port between 8901-8999
* Check that both it and X+1000 are available, if not pick a new port
* Removes dead code, function `readSolrOutput()`, `is_port_in_use()`, `removeTrailingZeros()` and the preemptive stop of solr on port 8983
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] Smoketester now randomizes port used for tests [solr]
Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy merged PR #4055:
URL: https://github.com/apache/solr/pull/4055
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org