[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
This commit is contained in:
Niels Bauman 2024-12-18 19:46:57 +01:00 committed by GitHub
parent fd918cb5cf
commit 3eeff05123
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -130,8 +130,9 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach {
setting 'xpack.security.enabled', 'true' setting 'xpack.security.enabled', 'true'
setting 'xpack.security.authc.api_key.enabled', 'true' setting 'xpack.security.authc.api_key.enabled', 'true'
setting 'xpack.security.authc.token.enabled', 'true' setting 'xpack.security.authc.token.enabled', 'true'
// disable the ILM history for doc tests to avoid potential lingering tasks that'd cause test flakiness // disable the ILM and SLM history for doc tests to avoid potential lingering tasks that'd cause test flakiness
setting 'indices.lifecycle.history_index_enabled', 'false' setting 'indices.lifecycle.history_index_enabled', 'false'
setting 'slm.history_index_enabled', 'false'
setting 'xpack.license.self_generated.type', 'trial' setting 'xpack.license.self_generated.type', 'trial'
setting 'xpack.security.authc.realms.file.file.order', '0' setting 'xpack.security.authc.realms.file.file.order', '0'
setting 'xpack.security.authc.realms.native.native.order', '1' setting 'xpack.security.authc.realms.native.native.order', '1'

View file

@ -358,8 +358,6 @@ tests:
issue: https://github.com/elastic/elasticsearch/issues/117937 issue: https://github.com/elastic/elasticsearch/issues/117937
- class: org.elasticsearch.xpack.security.authc.kerberos.KerberosAuthenticationIT - class: org.elasticsearch.xpack.security.authc.kerberos.KerberosAuthenticationIT
issue: https://github.com/elastic/elasticsearch/issues/118414 issue: https://github.com/elastic/elasticsearch/issues/118414
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
issue: https://github.com/elastic/elasticsearch/issues/116788
# Examples: # Examples:
# #