mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
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…
x
Reference in New Issue
Block a user