From 9646f3abadfbf469df2e01930f4185ab175c8b85 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Fri, 20 Dec 2019 15:43:00 +0100 Subject: [PATCH] Disable slm in AbstractWatcherIntegrationTestCase (#50422) SLM isn't required tests extending from this base class and only add noise during test suite teardown. Closes #50302 --- .../xpack/watcher/test/AbstractWatcherIntegrationTestCase.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java index 209dc9afab3..7060e9f4555 100644 --- a/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java +++ b/x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java @@ -118,6 +118,9 @@ public abstract class AbstractWatcherIntegrationTestCase extends ESIntegTestCase // watcher settings that should work despite randomization .put("xpack.watcher.execution.scroll.size", randomIntBetween(1, 100)) .put("xpack.watcher.watch.scroll.size", randomIntBetween(1, 100)) + // SLM can cause timing issues during testsuite teardown: https://github.com/elastic/elasticsearch/issues/50302 + // SLM is not required for tests extending from this base class and only add noise. + .put("xpack.slm.enabled", false) .build(); }