Fix rest tests to use ip and port again instead of localhost and port.

This commit is contained in:
Ryan Ernst 2016-01-18 19:27:51 -08:00
parent d9a01225cb
commit 8bf8ca6222
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class RestIntegTestTask extends RandomizedTestingTask {
// references can be accessed as a fully configured
project.gradle.projectsEvaluated {
NodeInfo node = ClusterFormationTasks.setup(project, this, clusterConfig)
systemProperty('tests.rest.cluster', "localhost:${-> new URL('http://' + node.httpUri()).getPort()}")
systemProperty('tests.rest.cluster', "${-> node.httpUri()}")
// 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