Skip to content

Commit f536f3f

Browse files
Disable queryable built-in feature in docs YAML tests (#124684) (#124822)
The .security index is created asynchronously on a cluster startup. This affects some of the docs YAML tests in a way that they need to account for the existence of the .security index or wait for the index to be created and green. This PR disables the feature for docs YAML tests. Disabling the feature in docs YAML tests will solve the flakiness without affecting the coverage. Resolves #122343 Resolves #121748 Resolves #121611 Resolves #121345 Resolves #121338 Resolves #121337 Resolves #121288 Resolves #121287 Resolves #121867 Resolves #122335 Resolves #122681 Resolves #121976 Resolves #123094 Resolves #123192 Resolves #122983 Resolves #124671 Resolves #124103 (cherry picked from commit cac356a) # Conflicts: # muted-tests.yml
1 parent c7f31f5 commit f536f3f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

docs/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach {
119119

120120
// TODO: remove this once cname is prepended to transport.publish_address by default in 8.0
121121
systemProperty 'es.transport.cname_in_publish_address', 'true'
122+
systemProperty 'es.queryable_built_in_roles_enabled', 'false'
122123

123124

124125
requiresFeature 'es.index_mode_feature_flag_registered', Version.fromString("8.0.0")

muted-tests.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,6 @@ tests:
447447
- class: org.elasticsearch.xpack.ml.integration.ClassificationIT
448448
method: testWithOnlyTrainingRowsAndTrainingPercentIsFifty_DependentVariableIsBoolean
449449
issue: https://github.com/elastic/elasticsearch/issues/123347
450-
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
451-
method: test {yaml=reference/rest-api/common-options/line_102}
452-
issue: https://github.com/elastic/elasticsearch/issues/121748
453450
- class: org.elasticsearch.analysis.common.CommonAnalysisClientYamlTestSuiteIT
454451
method: test {yaml=analysis-common/40_token_filters/stemmer_override file access}
455452
issue: https://github.com/elastic/elasticsearch/issues/121625
@@ -462,9 +459,6 @@ tests:
462459
- class: org.elasticsearch.gradle.internal.InternalBwcGitPluginFuncTest
463460
method: can resolve checkout folder as project artifact
464461
issue: https://github.com/elastic/elasticsearch/issues/119948
465-
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
466-
method: test {yaml=reference/rest-api/common-options/line_125}
467-
issue: https://github.com/elastic/elasticsearch/issues/121338
468462
- class: org.elasticsearch.xpack.sql.expression.function.scalar.datetime.DateTimeToCharProcessorTests
469463
issue: https://github.com/elastic/elasticsearch/issues/120575
470464
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
@@ -481,4 +475,4 @@ tests:
481475
issue: https://github.com/elastic/elasticsearch/issues/122755
482476
- class: org.elasticsearch.oldrepos.OldRepositoryAccessIT
483477
method: testOldRepoAccess
484-
issue: https://github.com/elastic/elasticsearch/issues/120148
478+
issue: https://github.com/elastic/elasticsearch/issues/120148

0 commit comments

Comments
 (0)