From 3db671e12ac0d049c6953107466bad5ad3cbe429 Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Tue, 13 Nov 2018 20:26:42 +0200 Subject: [PATCH] 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 --- .../org/elasticsearch/gradle/test/ClusterFormationTasks.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4c4082f94fd..8c7791c133e 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy @@ -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)