From aec033386ee2a5f43e8bfe3a486efe5e3889153d Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Mon, 27 Jun 2016 13:49:10 -0600 Subject: [PATCH] Add the integ test node's configuration directory as a system property --- .../org/elasticsearch/gradle/test/RestIntegTestTask.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy index 3bfe9d61018..fedcf6e87d3 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy @@ -62,6 +62,7 @@ public class RestIntegTestTask extends RandomizedTestingTask { project.gradle.projectsEvaluated { NodeInfo node = ClusterFormationTasks.setup(project, this, clusterConfig) systemProperty('tests.rest.cluster', "${-> node.httpUri()}") + systemProperty('tests.config.dir', "${-> node.confDir}") // TODO: our "client" qa tests currently use the rest-test plugin. instead they should have their own plugin // that sets up the test cluster and passes this transport uri instead of http uri. Until then, we pass // both as separate sysprops