You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2026/10/07 11:32:49 UTC
(solr) branch main updated: SOLR-18450: Use /api/collections in test_auth.bats (#5055)
This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new b3345a97b0d SOLR-18450: Use /api/collections in test_auth.bats (#5055)
b3345a97b0d is described below
commit b3345a97b0d59820bf75fefc2a0fcdfaf8268d90
Author: Serhiy Bzhezytskyy <me...@serhiy-bzhezytskyy.com>
AuthorDate: Wed Oct 7 14:32:43 2026 +0300
SOLR-18450: Use /api/collections in test_auth.bats (#5055)
---
solr/packaging/test/test_auth.bats | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/packaging/test/test_auth.bats b/solr/packaging/test/test_auth.bats
index b476541b392..4124d9845ad 100644
--- a/solr/packaging/test/test_auth.bats
+++ b/solr/packaging/test/test_auth.bats
@@ -53,11 +53,11 @@ setup() {
solr start
run solr auth enable --type basicAuth --credentials name:password -z localhost:${ZK_PORT}
assert_output --partial 'Successfully enabled basic auth'
- run curl -u name:password --basic "http://localhost:${SOLR_PORT}/api/cluster"
+ run curl -u name:password --basic "http://localhost:${SOLR_PORT}/api/collections"
assert_output --partial '"status":0'
solr auth disable -z localhost:${ZK_PORT}
- run curl "http://localhost:${SOLR_PORT}/api/cluster"
+ run curl "http://localhost:${SOLR_PORT}/api/collections"
assert_output --partial '"status":0'
solr stop --all
}