mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
Add TODO for splitting rest tests from client tests.
This commit is contained in:
parent
ef4f0a8699
commit
d7537075d6
@ -62,6 +62,9 @@ public class RestIntegTestTask extends RandomizedTestingTask {
|
|||||||
project.gradle.projectsEvaluated {
|
project.gradle.projectsEvaluated {
|
||||||
NodeInfo node = ClusterFormationTasks.setup(project, this, clusterConfig)
|
NodeInfo node = ClusterFormationTasks.setup(project, this, clusterConfig)
|
||||||
systemProperty('tests.rest.cluster', "localhost:${-> new URL('http://' + node.httpUri()).getPort()}")
|
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()}")
|
systemProperty('tests.cluster', "${-> node.transportUri()}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user