mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-24 22:09:24 +00:00
Merge pull request #15433 from rmuir/who_tests_the_tester
smoke test plugins does not test any plugins
This commit is contained in:
commit
5f7b863067
@ -22,15 +22,16 @@ import org.elasticsearch.gradle.MavenFilteringHack
|
|||||||
apply plugin: 'elasticsearch.rest-test'
|
apply plugin: 'elasticsearch.rest-test'
|
||||||
|
|
||||||
ext.pluginsCount = 0
|
ext.pluginsCount = 0
|
||||||
project.rootProject.subprojects.findAll { it.path.startsWith(':projects:') }.each { subproj ->
|
project.rootProject.subprojects.findAll { it.path.startsWith(':plugins:') }.each { subproj ->
|
||||||
integTest {
|
integTest {
|
||||||
cluster {
|
cluster {
|
||||||
// need to get a non-decorated project object, so must re-lookup the project by path
|
// need to get a non-decorated project object, so must re-lookup the project by path
|
||||||
plugin subproj.name, project(subproj.path)
|
plugin subproj.name, project(subproj.path)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pluginCount += 1
|
pluginsCount += 1
|
||||||
}
|
}
|
||||||
|
assert pluginsCount > 0
|
||||||
|
|
||||||
ext.expansions = [
|
ext.expansions = [
|
||||||
'expected.plugins.count': pluginsCount
|
'expected.plugins.count': pluginsCount
|
||||||
|
Loading…
x
Reference in New Issue
Block a user