smoke test plugins does not test any plugins

Currently the build has a bug and it loads 0 plugins.
This commit is contained in:
Robert Muir 2015-12-15 00:05:14 -05:00
parent ffdda793a0
commit 2d42e99c7a
1 changed files with 3 additions and 2 deletions

View File

@ -22,15 +22,16 @@ import org.elasticsearch.gradle.MavenFilteringHack
apply plugin: 'elasticsearch.rest-test'
ext.pluginsCount = 0
project.rootProject.subprojects.findAll { it.path.startsWith(':projects:') }.each { subproj ->
project.rootProject.subprojects.findAll { it.path.startsWith(':plugins:') }.each { subproj ->
integTest {
cluster {
// need to get a non-decorated project object, so must re-lookup the project by path
plugin subproj.name, project(subproj.path)
}
}
pluginCount += 1
pluginsCount += 1
}
assert pluginsCount > 0
ext.expansions = [
'expected.plugins.count': pluginsCount