You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2024/02/24 16:23:55 UTC

(solr) 02/02: backport SOLR-17163

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

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

commit 5a082d1a78ca6a366f38961c9a1085ac55ece445
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Sat Feb 24 11:23:45 2024 -0500

    backport SOLR-17163
---
 solr/core/src/test/org/apache/solr/cli/PostToolTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/cli/PostToolTest.java b/solr/core/src/test/org/apache/solr/cli/PostToolTest.java
index c6a16e1e83f..1f9a10f4877 100644
--- a/solr/core/src/test/org/apache/solr/cli/PostToolTest.java
+++ b/solr/core/src/test/org/apache/solr/cli/PostToolTest.java
@@ -85,7 +85,7 @@ public class PostToolTest extends SolrCloudTestCase {
     int expectedDocCount = 1;
 
     for (int idx = 0; idx < 100; ++idx) {
-      QueryRequest req = withBasicAuth(new QueryRequest(params("q", "*:*")));
+      QueryRequest req = new QueryRequest(params("q", "*:*"));
       QueryResponse rsp = req.process(cluster.getSolrClient(), collection);
 
       numFound = (int) rsp.getResults().getNumFound();
@@ -120,7 +120,7 @@ public class PostToolTest extends SolrCloudTestCase {
     int expectedDocCount = 1;
 
     for (int idx = 0; idx < 100; ++idx) {
-      QueryRequest req = withBasicAuth(new QueryRequest(params("q", "*:*")));
+      QueryRequest req = new QueryRequest(params("q", "*:*"));
       QueryResponse rsp = req.process(cluster.getSolrClient(), collection);
 
       numFound = (int) rsp.getResults().getNumFound();