From 96b83d5f4fc093ca78b80402c4e69f608bce64a7 Mon Sep 17 00:00:00 2001 From: Serhiy Bzhezytskyy Date: Wed, 7 Oct 2026 12:05:18 +0300 Subject: [PATCH] SOLR-18450: Use /api/collections in test_auth.bats The test still sent GET /api/cluster, which SOLR-18450 moved to /api/collections, so on main it got a 404 instead of "status":0. --- 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 b476541b3929..4124d9845ad1 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 }