Skip to content

Commit 9646f3a

Browse files
committed
Disable slm in AbstractWatcherIntegrationTestCase (elastic#50422)
SLM isn't required tests extending from this base class and only add noise during test suite teardown. Closes elastic#50302
1 parent 3e3a930 commit 9646f3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/test/AbstractWatcherIntegrationTestCase.java

+3
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ protected Settings nodeSettings(int nodeOrdinal) {
118118
// watcher settings that should work despite randomization
119119
.put("xpack.watcher.execution.scroll.size", randomIntBetween(1, 100))
120120
.put("xpack.watcher.watch.scroll.size", randomIntBetween(1, 100))
121+
// SLM can cause timing issues during testsuite teardown: https://github.com/elastic/elasticsearch/issues/50302
122+
// SLM is not required for tests extending from this base class and only add noise.
123+
.put("xpack.slm.enabled", false)
121124
.build();
122125
}
123126

0 commit comments

Comments
 (0)