mirror of https://github.com/apache/lucene.git
SOLR-9132: Fix precommit
This commit is contained in:
parent
1f06411946
commit
b6e0ab0174
|
@ -17,7 +17,6 @@
|
|||
|
||||
package org.apache.solr.cloud;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.apache.solr.client.solrj.impl.CloudSolrClient;
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.slf4j.LoggerFactory;
|
|||
@Slow
|
||||
public class RecoveryZkTest extends SolrCloudTestCase {
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
|
||||
@BeforeClass
|
||||
public static void setupCluster() throws Exception {
|
||||
|
@ -140,7 +140,7 @@ public class RecoveryZkTest extends SolrCloudTestCase {
|
|||
}
|
||||
for (int j = 1; j < replicas.size(); j++) {
|
||||
if (numCounts[j] != numCounts[j - 1])
|
||||
fail("Mismatch in counts between replicas"); // nocommit improve this!
|
||||
fail("Mismatch in counts between replicas"); // TODO improve this!
|
||||
if (numCounts[j] == 0 && expectDocs)
|
||||
fail("Expected docs on shard " + shard.getName() + " but found none");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue