You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ds...@apache.org on 2026/10/08 20:56:35 UTC

(solr) 03/03: SOLR-18450: Use /api/collections in test_auth.bats (#5055)

This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/solr.git

commit bbac948d28ddd7f1192312e0a01dd21975597be7
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)
    
    (cherry picked from commit b3345a97b0d59820bf75fefc2a0fcdfaf8268d90)
---
 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
 }