mirror of https://github.com/apache/lucene.git
Fix precommit
This commit is contained in:
parent
f1cb28c234
commit
0f75635aff
|
@ -89,7 +89,7 @@ public class LeaderElectionContextKeyTest extends SolrCloudTestCase {
|
|||
boolean found = false;
|
||||
while (System.nanoTime() < timeout) {
|
||||
try {
|
||||
found = getElectionNodes(TEST_COLLECTION_1, "shard1", stateReader.getZkClient()).size() == 0;
|
||||
found = getElectionNodes(TEST_COLLECTION_1, shard, stateReader.getZkClient()).size() == 0;
|
||||
break;
|
||||
} catch (KeeperException.NoNodeException nne) {
|
||||
// ignore
|
||||
|
|
Loading…
Reference in New Issue