Skip release build tests for external test modules (#62579)
The tests don't make sense for release builds. closes #62435
This commit is contained in:
parent
9bb7ce0b22
commit
ede62d722f
|
@ -1,10 +1,17 @@
|
|||
|
||||
import org.elasticsearch.gradle.info.BuildParams;
|
||||
|
||||
subprojects {
|
||||
apply plugin: 'elasticsearch.esplugin'
|
||||
apply plugin: 'elasticsearch.yaml-rest-test'
|
||||
|
||||
esplugin {
|
||||
name it.name
|
||||
licenseFile rootProject.file('licenses/APACHE-LICENSE-2.0.txt')
|
||||
noticeFile rootProject.file('NOTICE.txt')
|
||||
}
|
||||
|
||||
tasks.named('yamlRestTest').configure {
|
||||
it.onlyIf { BuildParams.isSnapshotBuild() }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
apply plugin: 'elasticsearch.esplugin'
|
||||
apply plugin: 'elasticsearch.yaml-rest-test'
|
||||
|
||||
esplugin {
|
||||
description 'A test module that allows to delay aggregations on shards with a configurable time'
|
||||
classname 'org.elasticsearch.search.aggregations.DelayedShardAggregationPlugin'
|
||||
|
|
Loading…
Reference in New Issue