[DOCS] Disable monitoring for the docs tests (elastic/x-pack-elasticsearch#3143)

Original commit: elastic/x-pack-elasticsearch@114fdbf2d9
This commit is contained in:
David Kyle 2017-11-28 15:57:17 +00:00 committed by GitHub
parent fa33f45cfb
commit ac01962a62
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ Closure waitWithAuth = { NodeInfo node, AntBuilder ant ->
integTestCluster {
plugin ':x-pack-elasticsearch:plugin'
setting 'xpack.security.authc.token.enabled', 'true'
// Disable monitoring exporters for the docs tests
setting 'xpack.monitoring.exporters._local.type', 'local'
setting 'xpack.monitoring.exporters._local.enabled', 'false'
setupCommand 'setupTestAdmin',
'bin/x-pack/users', 'useradd', 'test_admin', '-p', 'x-pack-test-password', '-r', 'superuser'
waitCondition = waitWithAuth