diff --git a/Aliases/solr@9.7 b/Aliases/solr@9.8 similarity index 100% rename from Aliases/solr@9.7 rename to Aliases/solr@9.8 diff --git a/Formula/s/solr.rb b/Formula/s/solr.rb index ace71b7b4c027..90f9fefdace27 100644 --- a/Formula/s/solr.rb +++ b/Formula/s/solr.rb @@ -1,9 +1,9 @@ class Solr < Formula desc "Enterprise search platform from the Apache Lucene project" homepage "https://solr.apache.org/" - url "https://dlcdn.apache.org/solr/solr/9.7.0/solr-9.7.0.tgz" - mirror "https://archive.apache.org/dist/solr/solr/9.7.0/solr-9.7.0.tgz" - sha256 "38548b86fa4e3c87883875952da124bf7d742cb8f7b25d37a1176833588e8552" + url "https://dlcdn.apache.org/solr/solr/9.8.0/solr-9.8.0.tgz" + mirror "https://archive.apache.org/dist/solr/solr/9.8.0/solr-9.8.0.tgz" + sha256 "9948dcf798c196b834c4cbb420d1ea5995479431669d266c33d46548b67e69e1" license "Apache-2.0" bottle do @@ -45,7 +45,7 @@ def post_install # Start a Solr node => exit code 0 shell_output("#{bin}/solr start -p #{port} -Djava.io.tmpdir=/tmp") - assert_match "Found 1 Solr nodes", shell_output("#{bin}/solr status") + assert_match(/Solr process \d+ running on port #{port}/, status_output) # Impossible to start a second Solr node on the same port => exit code 1 shell_output("#{bin}/solr start -p #{port}", 1)