MINOR: Remove Hack in TestCluster Task (#35485)

*  The logic that splits by `","` isn't necessary anymore since #35375 removed the hack that set the comma separated list for the unicast host
This commit is contained in:
Armin Braun 2018-11-13 20:26:42 +02:00 committed by GitHub
parent 2ac4ef7a69
commit 3db671e12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ class ClusterFormationTasks {
unicastHosts.addAll(node.config.otherUnicastHostAddresses.call())
String unicastHost = node.config.unicastTransportUri(node, null, project.ant)
if (unicastHost != null) {
unicastHosts.addAll(Arrays.asList(unicastHost.split(",")))
unicastHosts.add(unicastHost)
}
}
String unicastHostsTxt = String.join("\n", unicastHosts)