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
This commit is contained in:
Armin Braun 2020-01-14 17:46:47 +01:00 committed by GitHub
parent 6e8ea7aaa2
commit 1fe2d76a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")