Build: Fix meta plugin integ test installation (#28286)

Integ test clusters should use the plugin method of ClusterConfiguration
to install plugins. Without it, meta plugins install based on the name
of the project directory, rather than the actual configured plugin name.
This commit fixes that, and also corrects the distribution used to be
the default integ-test-zip, to match that of PluginBuildPlugin. This
ensures plugins are tested in isolation by default.
This commit is contained in:
Ryan Ernst 2018-01-18 11:14:56 -08:00 committed by GitHub
parent 20fb7a6d87
commit e442a34acc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -40,8 +40,7 @@ class MetaPluginBuildPlugin implements Plugin<Project> {
project.integTestCluster {
dependsOn(project.bundlePlugin)
distribution = 'zip'
setupCommand('installMetaPlugin', 'bin/elasticsearch-plugin', 'install', 'file:' + project.bundlePlugin.archivePath)
plugin(project.path)
}
RunTask run = project.tasks.create('run', RunTask)