Skip to content

Commit 7817948

Browse files
Disable monitoring in ML multinode tests (#55461)
Removing the deprecated "xpack.monitoring.enabled" setting introduced log spam and potentially some failures in ML tests. It's possible to use a different, non-deprecated setting to disable monitoring, so we do that here.
1 parent 99409e8 commit 7817948

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

x-pack/plugin/ml/qa/basic-multi-node/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ testClusters.integTest {
1111
testDistribution = 'DEFAULT'
1212
numberOfNodes = 3
1313
setting 'xpack.security.enabled', 'false'
14+
setting 'xpack.monitoring.elasticsearch.collection.enabled', 'false'
1415
setting 'xpack.watcher.enabled', 'false'
1516
setting 'xpack.ml.enabled', 'true'
1617
setting 'xpack.license.self_generated.type', 'trial'

x-pack/plugin/ml/qa/native-multi-node-tests/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ testClusters.integTest {
4040
testDistribution = 'DEFAULT'
4141

4242
setting 'xpack.security.enabled', 'true'
43+
setting 'xpack.monitoring.elasticsearch.collection.enabled', 'false'
4344
setting 'xpack.ml.enabled', 'true'
4445
setting 'xpack.watcher.enabled', 'false'
4546
setting 'xpack.security.authc.token.enabled', 'true'

0 commit comments

Comments
 (0)