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:43 UTC
[lucene-solr] branch branch_8_8 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_8_8
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8_8 by this push:
new 0d89913 SOLR-15233 Missed test backport
0d89913 is described below
commit 0d899131683e400ce11f03852b59279ca3803d83
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);
}
}