SOLR-9132: Fix precommit

This commit is contained in:
Alan Woodward 2016-10-28 13:29:13 +01:00
parent 1f06411946
commit b6e0ab0174
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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");
}