Ensure remote-cluster cluster is available when configuring tasks using it (#78397)

Fixes #78389

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Rene Groeschke 2021-09-29 02:24:39 +02:00 committed by GitHub
parent a9ae3136eb
commit 0a2232694d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,10 +12,13 @@ apply plugin: 'elasticsearch.internal-testclusters'
apply plugin: 'elasticsearch.standalone-rest-test'
apply plugin: 'elasticsearch.rest-resources'
dependencies {
testImplementation project(":client:rest-high-level")
}
testClusters.register('remote-cluster')
tasks.register('remote-cluster', RestIntegTestTask) {
mustRunAfter("precommit")
systemProperty 'tests.rest.suite', 'remote_cluster'