Skip to content

Commit edf0b21

Browse files
MINOR: Remove Hack in TestCluster Task
* The logic that splits by `","` isn't necessary anymore since elastic#35375 removed the hack that set the comma separated list for the unicast host
1 parent 76cefb0 commit edf0b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ class ClusterFormationTasks {
719719
unicastHosts.addAll(node.config.otherUnicastHostAddresses.call())
720720
String unicastHost = node.config.unicastTransportUri(node, null, project.ant)
721721
if (unicastHost != null) {
722-
unicastHosts.addAll(Arrays.asList(unicastHost.split(",")))
722+
unicastHosts.add(unicastHost)
723723
}
724724
}
725725
String unicastHostsTxt = String.join("\n", unicastHosts)

0 commit comments

Comments
 (0)