You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2023/09/09 11:11:44 UTC
[solr] branch branch_9x updated: backport just bats test from SOLR-16956
This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 5cc252fb39f backport just bats test from SOLR-16956
5cc252fb39f is described below
commit 5cc252fb39f138f21e5894d08ba987479c90193a
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Sat Sep 9 07:11:25 2023 -0400
backport just bats test from SOLR-16956
---
solr/packaging/test/test_start_solr.bats | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/solr/packaging/test/test_start_solr.bats b/solr/packaging/test/test_start_solr.bats
index e0d7e5d981e..3b664759da4 100644
--- a/solr/packaging/test/test_start_solr.bats
+++ b/solr/packaging/test/test_start_solr.bats
@@ -36,3 +36,16 @@ teardown() {
run bash -c 'solr stop -all 2>&1'
refute_output --partial 'forcefully killing'
}
+
+@test "stop command for single port" {
+
+ solr start
+ solr start -p 7574
+ solr assert --started http://localhost:8983/solr --timeout 5000
+ solr assert --started http://localhost:7574/solr --timeout 5000
+
+ run solr stop -p 7574
+ solr assert --not-started http://localhost:7574/solr --timeout 5000
+ solr assert --started http://localhost:8983/solr --timeout 5000
+
+}