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
This commit is contained in:
Martijn van Groningen 2019-12-20 15:43:00 +01:00
parent 3e3a93002f
commit 9646f3abad
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 3 additions and 0 deletions

View File

@ -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();
}