Test: testNodeNotReachableFromMaster had a typo when choosing a non master node

This commit is contained in:
Boaz Leskes 2014-09-29 11:35:03 +02:00
parent 5014158d6b
commit 9b4bf4379a
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ public class DiscoveryWithServiceDisruptions extends ElasticsearchIntegrationTes
while (nonMasterNode == null) {
nonMasterNode = randomFrom(internalCluster().getNodeNames());
if (nonMasterNode.equals(masterNode)) {
masterNode = null;
nonMasterNode = null;
}
}