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:
parent
6e8ea7aaa2
commit
1fe2d76a91
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue