Also set system property when running test task. (#59499)
Closes #59488
This commit is contained in:
parent
d5c11479da
commit
5f24be1bc1
|
@ -18,6 +18,11 @@ tasks.named('internalClusterTest').configure {
|
|||
systemProperty 'es.datastreams_feature_enabled', 'true'
|
||||
}
|
||||
}
|
||||
tasks.named('test').configure {
|
||||
if (org.elasticsearch.gradle.info.BuildParams.isSnapshotBuild() == false) {
|
||||
systemProperty 'es.datastreams_feature_enabled', 'true'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
||||
|
|
Loading…
Reference in New Issue