build: enhance check task instead of overwriting it.

(test task didn't run when check task ran)
This commit is contained in:
Martijn van Groningen 2018-05-16 10:54:15 +02:00
parent 596ec1848e
commit 7942e4082a
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 1 additions and 4 deletions

View File

@ -31,11 +31,8 @@ task internalClusterTest(type: RandomizedTestingTask,
systemProperty 'es.set.netty.runtime.available.processors', 'false' systemProperty 'es.set.netty.runtime.available.processors', 'false'
} }
check {
dependsOn = [internalClusterTest, 'qa:multi-cluster:followClusterTest', 'qa:multi-cluster-with-security:followClusterTest']
}
internalClusterTest.mustRunAfter test internalClusterTest.mustRunAfter test
check.dependsOn(internalClusterTest, 'qa:multi-cluster:followClusterTest', 'qa:multi-cluster-with-security:followClusterTest')
dependencies { dependencies {
compileOnly "org.elasticsearch:elasticsearch:${version}" compileOnly "org.elasticsearch:elasticsearch:${version}"