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:
parent
2ac4ef7a69
commit
3db671e12a
|
@ -719,7 +719,7 @@ class ClusterFormationTasks {
|
||||||
unicastHosts.addAll(node.config.otherUnicastHostAddresses.call())
|
unicastHosts.addAll(node.config.otherUnicastHostAddresses.call())
|
||||||
String unicastHost = node.config.unicastTransportUri(node, null, project.ant)
|
String unicastHost = node.config.unicastTransportUri(node, null, project.ant)
|
||||||
if (unicastHost != null) {
|
if (unicastHost != null) {
|
||||||
unicastHosts.addAll(Arrays.asList(unicastHost.split(",")))
|
unicastHosts.add(unicastHost)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String unicastHostsTxt = String.join("\n", unicastHosts)
|
String unicastHostsTxt = String.join("\n", unicastHosts)
|
||||||
|
|
Loading…
Reference in New Issue