From abe4b97199d40ffcd52a31ba272e57705b74016b Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Wed, 29 Dec 2021 11:26:14 -0500 Subject: [PATCH] Execution failed for task ':test:fixtures:azure/s3/hdfs/gcs-fixture:composeDown' (#1824) Signed-off-by: Andriy Redko --- test/fixtures/azure-fixture/build.gradle | 4 ++++ test/fixtures/gcs-fixture/build.gradle | 4 ++++ test/fixtures/krb5kdc-fixture/build.gradle | 4 ++++ test/fixtures/s3-fixture/build.gradle | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/test/fixtures/azure-fixture/build.gradle b/test/fixtures/azure-fixture/build.gradle index 63722c586c9..e2b1d475fba 100644 --- a/test/fixtures/azure-fixture/build.gradle +++ b/test/fixtures/azure-fixture/build.gradle @@ -40,6 +40,10 @@ dependencies { preProcessFixture { dependsOn jar, configurations.runtimeClasspath + // always run the task, otherwise the folders won't be created + outputs.upToDateWhen { + false + } doLast { file("${testFixturesDir}/shared").mkdirs() project.copy { diff --git a/test/fixtures/gcs-fixture/build.gradle b/test/fixtures/gcs-fixture/build.gradle index 8a2f7f06754..564cf336874 100644 --- a/test/fixtures/gcs-fixture/build.gradle +++ b/test/fixtures/gcs-fixture/build.gradle @@ -40,6 +40,10 @@ dependencies { group = 'fixture.gcs' preProcessFixture { dependsOn jar, configurations.runtimeClasspath + // always run the task, otherwise the folders won't be created + outputs.upToDateWhen { + false + } doLast { file("${testFixturesDir}/shared").mkdirs() project.copy { diff --git a/test/fixtures/krb5kdc-fixture/build.gradle b/test/fixtures/krb5kdc-fixture/build.gradle index 15642815043..1dc548da472 100644 --- a/test/fixtures/krb5kdc-fixture/build.gradle +++ b/test/fixtures/krb5kdc-fixture/build.gradle @@ -38,6 +38,10 @@ preProcessFixture.doLast { } postProcessFixture { + // always run the task, otherwise the folders won't be created + outputs.upToDateWhen { + false + } inputs.dir("${testFixturesDir}/shared") services.each { service -> File confTemplate = file("${testFixturesDir}/shared/${service}/krb5.conf.template") diff --git a/test/fixtures/s3-fixture/build.gradle b/test/fixtures/s3-fixture/build.gradle index d65020f8009..86456b3364c 100644 --- a/test/fixtures/s3-fixture/build.gradle +++ b/test/fixtures/s3-fixture/build.gradle @@ -40,6 +40,10 @@ dependencies { preProcessFixture { dependsOn jar, configurations.runtimeClasspath + // always run the task, otherwise the folders won't be created + outputs.upToDateWhen { + false + } doLast { file("${testFixturesDir}/shared").mkdirs() project.copy {