diff --git a/x-pack/plugin/autoscaling/build.gradle b/x-pack/plugin/autoscaling/build.gradle index ea76da209c7..242f16f0eb4 100644 --- a/x-pack/plugin/autoscaling/build.gradle +++ b/x-pack/plugin/autoscaling/build.gradle @@ -1,3 +1,5 @@ +import org.elasticsearch.gradle.info.BuildParams + evaluationDependsOn(xpackModule('core')) apply plugin: 'elasticsearch.esplugin' @@ -20,6 +22,9 @@ task internalClusterTest(type: Test) { include '**/*IT.class' systemProperty 'es.set.netty.runtime.available.processors', 'false' + if (BuildParams.isSnapshotBuild() == false) { + systemProperty 'es.autoscaling_feature_flag_registered', 'true' + } } check.dependsOn internalClusterTest