Skip to content

Commit 4f6c68d

Browse files
BrewTestBotchenrui333
authored andcommitted
solr 9.8.0
solr: update test Signed-off-by: Rui Chen <[email protected]>
1 parent 2109562 commit 4f6c68d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
File renamed without changes.

Formula/s/solr.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
class Solr < Formula
22
desc "Enterprise search platform from the Apache Lucene project"
33
homepage "https://solr.apache.org/"
4-
url "https://dlcdn.apache.org/solr/solr/9.7.0/solr-9.7.0.tgz"
5-
mirror "https://archive.apache.org/dist/solr/solr/9.7.0/solr-9.7.0.tgz"
6-
sha256 "38548b86fa4e3c87883875952da124bf7d742cb8f7b25d37a1176833588e8552"
4+
url "https://dlcdn.apache.org/solr/solr/9.8.0/solr-9.8.0.tgz"
5+
mirror "https://archive.apache.org/dist/solr/solr/9.8.0/solr-9.8.0.tgz"
6+
sha256 "9948dcf798c196b834c4cbb420d1ea5995479431669d266c33d46548b67e69e1"
77
license "Apache-2.0"
88

99
bottle do
@@ -45,7 +45,7 @@ def post_install
4545

4646
# Start a Solr node => exit code 0
4747
shell_output("#{bin}/solr start -p #{port} -Djava.io.tmpdir=/tmp")
48-
assert_match "Found 1 Solr nodes", shell_output("#{bin}/solr status")
48+
assert_match(/Solr process \d+ running on port #{port}/, shell_output("#{bin}/solr status"))
4949

5050
# Impossible to start a second Solr node on the same port => exit code 1
5151
shell_output("#{bin}/solr start -p #{port}", 1)

0 commit comments

Comments
 (0)