don't call runIntegrationTests from check gradle task

This is a temporary fix.
Currently the check task depends on the integrationt tests task,
which means all dependant tasks will be resolved even if they're just
registered instead of created.
This resolution is a problem because the downloadES task will fail
if, for the version we're building, Elasticsearch doesn't yet have a
build we can download.

So for now we'll remove this to unblock builds, but finding a way
to compartimentalize failures is needed going forward
This commit is contained in:
Joao Duarte 2020-07-15 10:29:07 +01:00 committed by João Duarte
parent c05ccd739f
commit 51b5217826

View file

@ -503,7 +503,13 @@ tasks.register("generatePluginsVersion") {
}
bootstrap.dependsOn assemblyDeps
check.dependsOn runIntegrationTests
// FIXME: adding the integration tests task to check will mean
// that any registered task will be evaluated. This creates an issue
// where the downloadES task may throw an error on versions where
// Elasticsearch doesn't yet have a build we can fetch
// So for now we'll remove this to unblock builds, but finding a way
// to compartimentalize failures is needed going forward
//check.dependsOn runIntegrationTests
Boolean oss = System.getenv('OSS').equals('true')