Skip to content

Commit 3eeff05

Browse files
authored
[8.17] Disable SLM history in docs tests (#118979) (#118994)
* Disable SLM history in docs tests (#118979) The SLM history data stream was causing issues in the docs tests because its presence was flaky and could result in the inability to remove its index template, which in turn resulted in failing tests. * Unmute test
1 parent fd918cb commit 3eeff05

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach {
130130
setting 'xpack.security.enabled', 'true'
131131
setting 'xpack.security.authc.api_key.enabled', 'true'
132132
setting 'xpack.security.authc.token.enabled', 'true'
133-
// disable the ILM history for doc tests to avoid potential lingering tasks that'd cause test flakiness
133+
// disable the ILM and SLM history for doc tests to avoid potential lingering tasks that'd cause test flakiness
134134
setting 'indices.lifecycle.history_index_enabled', 'false'
135+
setting 'slm.history_index_enabled', 'false'
135136
setting 'xpack.license.self_generated.type', 'trial'
136137
setting 'xpack.security.authc.realms.file.file.order', '0'
137138
setting 'xpack.security.authc.realms.native.native.order', '1'

muted-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,6 @@ tests:
358358
issue: https://github.com/elastic/elasticsearch/issues/117937
359359
- class: org.elasticsearch.xpack.security.authc.kerberos.KerberosAuthenticationIT
360360
issue: https://github.com/elastic/elasticsearch/issues/118414
361-
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
362-
issue: https://github.com/elastic/elasticsearch/issues/116788
363361

364362
# Examples:
365363
#

0 commit comments

Comments
 (0)