Browse Source

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.
Niels Bauman 10 months ago
parent
commit
76b2968360
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/build.gradle

+ 2 - 1
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'