Skip to content

Commit

Permalink
Merge pull request elastic#15433 from rmuir/who_tests_the_tester
Browse files Browse the repository at this point in the history
smoke test plugins does not test any plugins
  • Loading branch information
rmuir committed Dec 15, 2015
2 parents ffdda79 + 2d42e99 commit 5f7b863
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qa/smoke-test-plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f7b863

Please sign in to comment.