瀏覽代碼

Merge pull request #19104 from dakrone/add-confdir-prop

Add the integ test node's configuration directory as a system property
Lee Hinman 9 年之前
父節點
當前提交
1e6bebb6a3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy

+ 1 - 0
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