Skip to content

Commit 192297f

Browse files
Disable queryable built-in feature in docs YAML tests (#124684) (#124819)
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 a04e6dd commit 192297f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

docs/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach {
121121

122122
// TODO: remove this once cname is prepended to transport.publish_address by default in 8.0
123123
systemProperty 'es.transport.cname_in_publish_address', 'true'
124+
systemProperty 'es.queryable_built_in_roles_enabled', 'false'
124125

125126

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

muted-tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,6 @@ tests:
228228
issue: https://github.com/elastic/elasticsearch/issues/120816
229229
- class: org.elasticsearch.xpack.security.authc.ldap.ActiveDirectorySessionFactoryTests
230230
issue: https://github.com/elastic/elasticsearch/issues/121285
231-
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
232-
method: test {yaml=reference/snapshot-restore/apis/get-snapshot-api/line_357}
233-
issue: https://github.com/elastic/elasticsearch/issues/121287
234-
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
235-
method: test {yaml=reference/index-modules/slowlog/line_102}
236-
issue: https://github.com/elastic/elasticsearch/issues/121288
237231
- class: org.elasticsearch.env.NodeEnvironmentTests
238232
method: testGetBestDowngradeVersion
239233
issue: https://github.com/elastic/elasticsearch/issues/121316
@@ -305,4 +299,4 @@ tests:
305299
# issue: "https://github.com/elastic/elasticsearch/..."
306300
# - class: "org.elasticsearch.xpack.esql.**"
307301
# method: "test {union_types.MultiIndexIpStringStatsInline *}"
308-
# issue: "https://github.com/elastic/elasticsearch/..."
302+
# issue: "https://github.com/elastic/elasticsearch/..."

0 commit comments

Comments
 (0)