Skip to content

Commit 7037704

Browse files
Update gradle def
Signed-off-by: Andy Kwok <[email protected]>
1 parent a135f1d commit 7037704

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

integ-test/build.gradle

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -477,15 +477,8 @@ integTest {
477477
// Set properties for connection to clusters and between clusters
478478
doFirst {
479479
getClusters().forEach { cluster ->
480-
String allTransportSocketURI = cluster.nodes.stream().flatMap { node ->
481-
node.getAllTransportPortURI().stream()
482-
}.collect(Collectors.joining(","))
483-
String allHttpSocketURI = cluster.nodes.stream().flatMap { node ->
484-
node.getAllHttpSocketURI().stream()
485-
}.collect(Collectors.joining(","))
486-
487-
systemProperty "tests.rest.${cluster.name}.http_hosts", "${-> allHttpSocketURI}"
488-
systemProperty "tests.rest.${cluster.name}.transport_hosts", "${-> allTransportSocketURI}"
480+
systemProperty "tests.rest.${cluster.name}.http_hosts", "${-> getAllHttpSocketURI(cluster)}"
481+
systemProperty "tests.rest.${cluster.name}.transport_hosts", "${-> getAllTransportSocketURI(cluster)}"
489482
}
490483
}
491484

0 commit comments

Comments
 (0)