Skip to content

Commit 4bae370

Browse files
authored
Fix synthetic source docs test in release build (#87601)
Synthetic source is the first thing we've documented behind the tsdb feature flag. This adds the feature flag to the docs sub-project for the release build so the tests will pass. Closes #87592
1 parent b0dd87f commit 4bae370

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import org.elasticsearch.gradle.VersionProperties
1+
import org.elasticsearch.gradle.Version
22
import org.elasticsearch.gradle.internal.info.BuildParams
33

44
import static org.elasticsearch.gradle.testclusters.TestDistribution.DEFAULT
@@ -92,6 +92,8 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach {
9292
// TODO: remove this once cname is prepended to transport.publish_address by default in 8.0
9393
systemProperty 'es.transport.cname_in_publish_address', 'true'
9494

95+
requiresFeature 'es.index_mode_feature_flag_registered', Version.fromString("8.0.0")
96+
9597
// build the cluster with all plugins
9698
project.rootProject.subprojects.findAll { it.parent.path == ':plugins' }.each { subproj ->
9799
/* Skip repositories. We just aren't going to be able to test them so it

0 commit comments

Comments
 (0)