Test: testNodeNotReachableFromMaster had a typo when choosing a non master node
This commit is contained in:
parent
5014158d6b
commit
9b4bf4379a
|
@ -817,7 +817,7 @@ public class DiscoveryWithServiceDisruptions extends ElasticsearchIntegrationTes
|
|||
while (nonMasterNode == null) {
|
||||
nonMasterNode = randomFrom(internalCluster().getNodeNames());
|
||||
if (nonMasterNode.equals(masterNode)) {
|
||||
masterNode = null;
|
||||
nonMasterNode = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue