Skip to content

Commit 42b3122

Browse files
Disable queryable built-in feature in docs YAML tests (elastic#124684)
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 elastic#122343 Resolves elastic#121748 Resolves elastic#121611 Resolves elastic#121345 Resolves elastic#121338 Resolves elastic#121337 Resolves elastic#121288 Resolves elastic#121287 Resolves elastic#121867 Resolves elastic#122335 Resolves elastic#122681 Resolves elastic#121976 Resolves elastic#123094 Resolves elastic#123192 Resolves elastic#122983 Resolves elastic#124671 Resolves elastic#124103 (cherry picked from commit cac356a) # Conflicts: # muted-tests.yml
1 parent ecc423b commit 42b3122

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
@@ -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

+1-7
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
@@ -302,4 +296,4 @@ tests:
302296
# issue: "https://github.com/elastic/elasticsearch/..."
303297
# - class: "org.elasticsearch.xpack.esql.**"
304298
# method: "test {union_types.MultiIndexIpStringStatsInline *}"
305-
# issue: "https://github.com/elastic/elasticsearch/..."
299+
# issue: "https://github.com/elastic/elasticsearch/..."

0 commit comments

Comments
 (0)