From 1fe2d76a91d9cb0a57f1767f719cab1d78337165 Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Tue, 14 Jan 2020 17:46:47 +0100 Subject: [PATCH] Fix S3 3rd Party Tests (#50983) Only load fixtures plugin in snapshot-tool tests if we're actually going to use a fixture because otherwise configuration fails. Closes #50971 --- x-pack/snapshot-tool/qa/s3/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/snapshot-tool/qa/s3/build.gradle b/x-pack/snapshot-tool/qa/s3/build.gradle index 9f97279b109..590fa9c32ea 100644 --- a/x-pack/snapshot-tool/qa/s3/build.gradle +++ b/x-pack/snapshot-tool/qa/s3/build.gradle @@ -4,7 +4,6 @@ * you may not use this file except in compliance with the Elastic License. */ apply plugin: 'elasticsearch.build' -apply plugin: 'elasticsearch.test.fixtures' dependencies { compile project(":plugins:repository-s3") @@ -49,6 +48,7 @@ task thirdPartyTest(type: Test) { } if (useS3Fixture) { + apply plugin: 'elasticsearch.test.fixtures' testingConventions.enabled = false; testFixtures.useFixture(':test:fixtures:minio-fixture', "minio-fixture-for-snapshot-tool")