Fix precommit

This commit is contained in:
Cao Manh Dat 2017-10-23 14:48:10 +07:00
parent f1cb28c234
commit 0f75635aff
1 changed files with 1 additions and 1 deletions

View File

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