From 7942e4082a7b0b845f48e4113ae9ac8cd4dcb3ef Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Wed, 16 May 2018 10:54:15 +0200 Subject: [PATCH] build: enhance check task instead of overwriting it. (test task didn't run when check task ran) --- x-pack/plugin/ccr/build.gradle | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/x-pack/plugin/ccr/build.gradle b/x-pack/plugin/ccr/build.gradle index b257cb14635..535423225ab 100644 --- a/x-pack/plugin/ccr/build.gradle +++ b/x-pack/plugin/ccr/build.gradle @@ -31,11 +31,8 @@ task internalClusterTest(type: RandomizedTestingTask, systemProperty 'es.set.netty.runtime.available.processors', 'false' } -check { - dependsOn = [internalClusterTest, 'qa:multi-cluster:followClusterTest', 'qa:multi-cluster-with-security:followClusterTest'] -} - internalClusterTest.mustRunAfter test +check.dependsOn(internalClusterTest, 'qa:multi-cluster:followClusterTest', 'qa:multi-cluster-with-security:followClusterTest') dependencies { compileOnly "org.elasticsearch:elasticsearch:${version}"