From 3eeff05123b080ea80b535892d77a3cb720e30cc Mon Sep 17 00:00:00 2001 From: Niels Bauman <33722607+nielsbauman@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:46:57 +0100 Subject: [PATCH] [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 --- docs/build.gradle | 3 ++- muted-tests.yml | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/build.gradle b/docs/build.gradle index dec0de8ffa844..93b7277327280 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -130,8 +130,9 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach { setting 'xpack.security.enabled', 'true' setting 'xpack.security.authc.api_key.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 'slm.history_index_enabled', 'false' setting 'xpack.license.self_generated.type', 'trial' setting 'xpack.security.authc.realms.file.file.order', '0' setting 'xpack.security.authc.realms.native.native.order', '1' diff --git a/muted-tests.yml b/muted-tests.yml index 61395e47723b1..f9c17f5297cce 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -358,8 +358,6 @@ tests: issue: https://github.com/elastic/elasticsearch/issues/117937 - class: org.elasticsearch.xpack.security.authc.kerberos.KerberosAuthenticationIT issue: https://github.com/elastic/elasticsearch/issues/118414 - - class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT - issue: https://github.com/elastic/elasticsearch/issues/116788 # Examples: #