浏览代码

EQL: Fix release build of EQL (#55113)

Enables EQL in release builds for testing

Fixes #55112
Igor Motov 5 年之前
父节点
当前提交
1c24553a45
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      x-pack/plugin/eql/build.gradle

+ 3 - 0
x-pack/plugin/eql/build.gradle

@@ -28,6 +28,9 @@ task internalClusterTest(type: Test) {
    * other if we allow them to set the number of available processors as it's set-once in Netty.
    * other if we allow them to set the number of available processors as it's set-once in Netty.
    */
    */
   systemProperty 'es.set.netty.runtime.available.processors', 'false'
   systemProperty 'es.set.netty.runtime.available.processors', 'false'
+  if (BuildParams.isSnapshotBuild() == false) {
+    systemProperty 'es.eql_feature_flag_registered', 'true'
+  }
 }
 }
 
 
 check.dependsOn internalClusterTest
 check.dependsOn internalClusterTest