Enable searchable snapshots for release tests (#54987)
This commit is contained in:
parent
2b970e2a8d
commit
1552f2fa3e
|
@ -1,3 +1,5 @@
|
|||
import org.elasticsearch.gradle.info.BuildParams
|
||||
|
||||
evaluationDependsOn(xpackModule('core'))
|
||||
|
||||
apply plugin: 'elasticsearch.esplugin'
|
||||
|
@ -40,3 +42,9 @@ task testJar(type: Jar) {
|
|||
artifacts {
|
||||
testArtifacts testJar
|
||||
}
|
||||
|
||||
test {
|
||||
if (BuildParams.isSnapshotBuild() == false) {
|
||||
systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue