Merge pull request #15433 from rmuir/who_tests_the_tester

smoke test plugins does not test any plugins
This commit is contained in:
Robert Muir 2015-12-15 01:11:27 -05:00
commit 5f7b863067
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