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

Add the integ test node's configuration directory as a system property
This commit is contained in:
Lee Hinman 2016-06-27 13:52:29 -06:00 committed by GitHub
commit 1e6bebb6a3
1 changed files with 1 additions and 0 deletions

View File

@ -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