diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterConfiguration.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterConfiguration.groovy
index af84a44233aa3..6ca54e6a2afb9 100644
--- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterConfiguration.groovy
+++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterConfiguration.groovy
@@ -64,10 +64,10 @@ class ClusterConfiguration {
/**
* Configuration of the setting discovery.zen.minimum_master_nodes on the nodes.
- * In case of more than one node, this defaults to (number of nodes / 2) + 1
+ * In case of more than one node, this defaults to the number of nodes
*/
@Input
- Closure minimumMasterNodes = { getNumNodes() > 1 ? getNumNodes().intdiv(2) + 1 : -1 }
+ Closure minimumMasterNodes = { getNumNodes() > 1 ? getNumNodes() : -1 }
@Input
String jvmArgs = "-Xms" + System.getProperty('tests.heap.size', '512m') +