This is an automated email from the ASF dual-hosted git repository. janhoy pushed a commit to branch jira/SOLR-17697-picocli in repository https://gitbox.apache.org/repos/asf/solr.git
commit 4ec40c9e27bccfde9d0cc67736b300a7d1ff797f Author: Jan Høydahl <[email protected]> AuthorDate: Thu Jul 30 17:30:57 2026 +0200 Fix dropped --credentials in StatusTool.waitToSeeSolrUp The picocli field refactor made the credential-taking overload read the (unset) field instead of its parameter, so AssertTool's status checks sent no Authorization header and test_basic_auth.bats failed with 401. --- solr/core/src/java/org/apache/solr/cli/StatusTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/cli/StatusTool.java b/solr/core/src/java/org/apache/solr/cli/StatusTool.java index b878f6ea389..fb3c047b03a 100644 --- a/solr/core/src/java/org/apache/solr/cli/StatusTool.java +++ b/solr/core/src/java/org/apache/solr/cli/StatusTool.java @@ -349,7 +349,7 @@ public class StatusTool extends ToolBase { while (System.nanoTime() < timeout) { try { - return getStatus(pidUrl); + return getStatus(pidUrl, credentials); } catch (Exception exc) { if (CLIUtils.exceptionIsAuthRelated(exc)) { throw exc;
