Skip to content

Commit 5445ef6

Browse files
committed
revert changes to comment
1 parent 8018a91 commit 5445ef6

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

test/framework/src/main/java/org/elasticsearch/test/ESIntegTestCase.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -965,13 +965,12 @@ public void awaitMasterNode(String viaNode, String masterNodeName) {
965965
}
966966

967967
/**
968-
* Waits for all nodes forming the publish quorum in the cluster to have a consistent view of which node is currently the master.
968+
* Waits for all nodes in the cluster to have a consistent view of which node is currently the master.
969969
*/
970970
public void awaitMasterNode() {
971971
// The cluster health API always runs on the master node, and the master only completes cluster state publication when all nodes
972-
// forming the publish quorum have accepted the new cluster state. By waiting for all events to have finished on the
973-
// master node, we ensure that all nodes that are part of the publish quorum have a consistent view of which node is the master.
974-
// But nodes that are _not_ part of the quorum might still not have the same view yet.
972+
// in the cluster have accepted the new cluster state. By waiting for all events to have finished on the master node, we ensure
973+
// that the whole cluster has a consistent view of which node is the master.
975974
clusterAdmin().prepareHealth(TEST_REQUEST_TIMEOUT).setTimeout(TEST_REQUEST_TIMEOUT).setWaitForEvents(Priority.LANGUID).get();
976975
}
977976

0 commit comments

Comments
 (0)