mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 14:54:56 +00:00
Tiny oversight in dee9e048bdcc5ba59f20d2554e989015463df05a caused the `otherNodes` collection to incorrectly contain `master` here.
This commit is contained in:
parent
f35ad0d4e1
commit
722d94688b
@ -295,6 +295,7 @@ public class MinimumMasterNodesIT extends ESIntegTestCase {
|
|||||||
|
|
||||||
final String master = internalCluster().getMasterName();
|
final String master = internalCluster().getMasterName();
|
||||||
Set<String> otherNodes = new HashSet<>(Arrays.asList(internalCluster().getNodeNames()));
|
Set<String> otherNodes = new HashSet<>(Arrays.asList(internalCluster().getNodeNames()));
|
||||||
|
otherNodes.remove(master);
|
||||||
NetworkDisruption partition = isolateMasterDisruption(NetworkDisruption.DISCONNECT);
|
NetworkDisruption partition = isolateMasterDisruption(NetworkDisruption.DISCONNECT);
|
||||||
internalCluster().setDisruptionScheme(partition);
|
internalCluster().setDisruptionScheme(partition);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user