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 fa3db32e6a0..399c4838d2b 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterConfiguration.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterConfiguration.groovy @@ -69,7 +69,7 @@ class ClusterConfiguration { */ @Input Closure minimumMasterNodes = { - if (bwcVersion != null && bwcVersion.before("6.5.0-SNAPSHOT")) { + if (bwcVersion != null && bwcVersion.before("6.5.0")) { return numNodes > 1 ? numNodes : -1 } else { return numNodes > 1 ? numNodes.intdiv(2) + 1 : -1 diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy index 2b9e2c54569..28c212235f3 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy @@ -127,7 +127,7 @@ class ClusterFormationTasks { nodes.add(node) Closure writeConfigSetup Object dependsOn - if (node.nodeVersion.onOrAfter("6.5.0-SNAPSHOT")) { + if (node.nodeVersion.onOrAfter("6.5.0")) { writeConfigSetup = { Map esConfig -> // Don't force discovery provider if one is set by the test cluster specs already if (esConfig.containsKey('discovery.zen.hosts_provider') == false) {