Skip to content

Conversation

@janhoy
Copy link
Contributor

@janhoy janhoy commented Jan 16, 2026

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

@janhoy janhoy changed the title Smoketester now finds an available port if 8983 is busy Smoketester now does not rely on port 8983 being available Jan 16, 2026
@janhoy janhoy requested a review from HoustonPutman January 16, 2026 08:47
@janhoy janhoy changed the title Smoketester now does not rely on port 8983 being available Smoketester now randomizes port used for tests Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant