From 0c4c7efd777142620f4e8b499b294844056da2eb Mon Sep 17 00:00:00 2001 From: Armin Date: Thu, 28 Jun 2018 14:57:07 +0200 Subject: [PATCH 1/2] TEST: Fix test task invocation --- client/benchmark/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/benchmark/build.gradle b/client/benchmark/build.gradle index 9ca53292a4956..0694a0a66b012 100644 --- a/client/benchmark/build.gradle +++ b/client/benchmark/build.gradle @@ -47,8 +47,7 @@ mainClassName = 'org.elasticsearch.client.benchmark.BenchmarkMain' // never try to invoke tests on the benchmark project - there aren't any check.dependsOn.remove(test) -// explicitly override the test task too in case somebody invokes 'gradle test' so it won't trip -task test(type: Test, overwrite: true) +tasks.remove(test) dependencies { compile 'org.apache.commons:commons-math3:3.2' From 50dad7b6ce6cc010161ffa7e73a82aa2c22732e5 Mon Sep 17 00:00:00 2001 From: Armin Date: Thu, 28 Jun 2018 16:37:36 +0200 Subject: [PATCH 2/2] TEST: Fix test task invocation --- client/benchmark/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/benchmark/build.gradle b/client/benchmark/build.gradle index 0694a0a66b012..5d557207ea3c8 100644 --- a/client/benchmark/build.gradle +++ b/client/benchmark/build.gradle @@ -46,8 +46,7 @@ mainClassName = 'org.elasticsearch.client.benchmark.BenchmarkMain' // never try to invoke tests on the benchmark project - there aren't any -check.dependsOn.remove(test) -tasks.remove(test) +test.enabled = false dependencies { compile 'org.apache.commons:commons-math3:3.2'