Add TODO for splitting rest tests from client tests.

This commit is contained in:
Ryan Ernst 2016-01-18 16:59:42 -08:00
parent ef4f0a8699
commit d7537075d6
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ public class RestIntegTestTask extends RandomizedTestingTask {
project.gradle.projectsEvaluated {
NodeInfo node = ClusterFormationTasks.setup(project, this, clusterConfig)
systemProperty('tests.rest.cluster', "localhost:${-> new URL('http://' + node.httpUri()).getPort()}")
// 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
systemProperty('tests.cluster', "${-> node.transportUri()}")
}
}