You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by md...@apache.org on 2021/04/06 17:38:28 UTC

[lucene-solr] branch branch_8x updated: SOLR-15233 Missed test backport

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

mdrob pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new a038e36  SOLR-15233 Missed test backport
a038e36 is described below

commit a038e36535f43a9eb4cffbfa38bcfb8dbc8ef442
Author: Mike Drob <md...@apache.org>
AuthorDate: Tue Apr 6 12:37:33 2021 -0500

    SOLR-15233 Missed test backport
---
 .../solr/security/hadoop/TestSolrCloudWithHadoopAuthPlugin.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/security/hadoop/TestSolrCloudWithHadoopAuthPlugin.java b/solr/core/src/test/org/apache/solr/security/hadoop/TestSolrCloudWithHadoopAuthPlugin.java
index 3043394..6926214 100644
--- a/solr/core/src/test/org/apache/solr/security/hadoop/TestSolrCloudWithHadoopAuthPlugin.java
+++ b/solr/core/src/test/org/apache/solr/security/hadoop/TestSolrCloudWithHadoopAuthPlugin.java
@@ -119,13 +119,13 @@ public class TestSolrCloudWithHadoopAuthPlugin extends SolrCloudAuthTestCase {
         NUM_SHARDS, REPLICATION_FACTOR);
     create.process(solrClient);
     // The metrics counter for wrong credentials here really just means  
-    assertAuthMetricsMinimums(6, 3, 0, 3, 0, 0);
+    assertAuthMetricsMinimums(2, 1, 0, 1, 0, 0);
 
     SolrInputDocument doc = new SolrInputDocument();
     doc.setField("id", "1");
     solrClient.add(collectionName, doc);
     solrClient.commit(collectionName);
-    assertAuthMetricsMinimums(10, 5, 0, 5, 0, 0);
+    assertAuthMetricsMinimums(4, 2, 0, 2, 0, 0);
 
     SolrQuery query = new SolrQuery();
     query.setQuery("*:*");
@@ -136,6 +136,6 @@ public class TestSolrCloudWithHadoopAuthPlugin extends SolrCloudAuthTestCase {
     deleteReq.process(solrClient);
     AbstractDistribZkTestBase.waitForCollectionToDisappear(collectionName,
         solrClient.getZkStateReader(), true, true, 330);
-    assertAuthMetricsMinimums(14, 8, 0, 6, 0, 0);
+    assertAuthMetricsMinimums(6, 4, 0, 2, 0, 0);
   }
 }