Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

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

Serhiy Bzhezytskyyb3345a97b0d5
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
}