Skip to content

Commit

Permalink
solr 9.8.0
Browse files Browse the repository at this point in the history
solr: update test

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Jan 21, 2025
1 parent 2109562 commit 7c69f5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions Formula/s/solr.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7c69f5e

Please sign in to comment.