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:
parent
20fb7a6d87
commit
e442a34acc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue