Skip to content

Commit 9162267

Browse files
martijnvgSivagurunathanV
authored andcommitted
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 1ab7a4b commit 9162267

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ protected Settings nodeSettings(int nodeOrdinal) {
117117
.put("xpack.watcher.execution.scroll.size", randomIntBetween(1, 100))
118118
.put("xpack.watcher.watch.scroll.size", randomIntBetween(1, 100))
119119
.put("index.lifecycle.history_index_enabled", false)
120+
// SLM can cause timing issues during testsuite teardown: https://github.com/elastic/elasticsearch/issues/50302
121+
// SLM is not required for tests extending from this base class and only add noise.
122+
.put("xpack.slm.enabled", false)
120123
.build();
121124
}
122125

0 commit comments

Comments
 (0)