Browse Source

Disable ILM history in x-pack rest tests (#52868)

The ILM history index can be delayed created from one test into the
next, which can cause issues for tests using `_all`.

Closes #52209
Henning Andersen 5 years ago
parent
commit
dffdff1f28
1 changed files with 2 additions and 0 deletions
  1. 2 0
      x-pack/plugin/build.gradle

+ 2 - 0
x-pack/plugin/build.gradle

@@ -99,6 +99,8 @@ testClusters.integTest {
   setting 'xpack.security.transport.ssl.verification_mode', 'certificate'
   setting 'xpack.security.audit.enabled', 'true'
   setting 'xpack.license.self_generated.type', 'trial'
+  // disable ILM history, since it disturbs tests using _all
+  setting 'indices.lifecycle.history_index_enabled', 'false'
   keystore 'bootstrap.password', 'x-pack-test-password'
   keystore 'xpack.security.transport.ssl.secure_key_passphrase', 'testnode'