[TEST] Disable ml in qa modules where necessary
Original commit: elastic/x-pack-elasticsearch@bb311b44d7
This commit is contained in:
parent
d8f9b8452a
commit
0542a9eb92
|
@ -24,6 +24,7 @@ integTestCluster {
|
|||
plugin ':x-pack-elasticsearch:plugin'
|
||||
setting 'xpack.watcher.enabled', 'false'
|
||||
setting 'xpack.monitoring.enabled', 'false'
|
||||
setting 'xpack.ml.enabled', 'false'
|
||||
setupCommand 'setupDummyUser',
|
||||
'bin/x-pack/users', 'useradd', 'test_user', '-p', 'changeme', '-r', 'superuser'
|
||||
waitCondition = { node, ant ->
|
||||
|
|
|
@ -12,6 +12,7 @@ integTestCluster {
|
|||
plugin ':x-pack-elasticsearch:plugin'
|
||||
// Whitelist reindexing from the local node so we can test it.
|
||||
setting 'reindex.remote.whitelist', '127.0.0.1:*'
|
||||
setting 'xpack.ml.enabled', 'false'
|
||||
extraConfigFile 'x-pack/roles.yml', 'roles.yml'
|
||||
[
|
||||
test_admin: 'superuser',
|
||||
|
|
|
@ -20,6 +20,7 @@ integTestRunner {
|
|||
|
||||
integTestCluster {
|
||||
plugin ':x-pack-elasticsearch:plugin'
|
||||
setting 'xpack.ml.enabled', 'false'
|
||||
setupCommand 'setupDummyUser',
|
||||
'bin/x-pack/users', 'useradd', 'test_user', '-p', 'changeme', '-r', 'superuser'
|
||||
setupCommand 'setupTransportClientUser',
|
||||
|
|
|
@ -59,6 +59,7 @@ integTestCluster {
|
|||
setting 'xpack.security.authc.realms.esusers.type', 'file'
|
||||
setting 'xpack.security.authc.realms.native.type', 'native'
|
||||
setting 'xpack.security.authc.realms.native.order', '2'
|
||||
setting 'xpack.ml.enabled', 'false'
|
||||
|
||||
setupCommand 'setupDummyUser',
|
||||
'bin/x-pack/users', 'useradd', 'test_user', '-p', 'changeme', '-r', 'superuser'
|
||||
|
|
|
@ -174,6 +174,8 @@ integTestCluster {
|
|||
setting 'xpack.security.http.ssl.keystore.path', nodeKeystore.name
|
||||
setting 'xpack.security.http.ssl.keystore.password', 'keypass'
|
||||
|
||||
setting 'xpack.ml.enabled', 'false'
|
||||
|
||||
plugin ':x-pack-elasticsearch:plugin'
|
||||
|
||||
// copy keystores into config/
|
||||
|
|
|
@ -21,6 +21,7 @@ integTestCluster {
|
|||
plugin ':x-pack-elasticsearch:plugin'
|
||||
setting 'xpack.security.enabled', 'false'
|
||||
setting 'xpack.monitoring.enabled', 'false'
|
||||
setting 'xpack.ml.enabled', 'false'
|
||||
setting 'http.port', '9400'
|
||||
// Need to allow more compilations per minute because of the integration tests
|
||||
setting 'script.max_compilations_per_minute', '100'
|
||||
|
|
|
@ -20,6 +20,7 @@ cluster1Config.setting('xpack.monitoring.enabled', false)
|
|||
cluster1Config.setting('xpack.security.enabled', false)
|
||||
cluster1Config.setting('xpack.watcher.enabled', false)
|
||||
cluster1Config.setting('xpack.graph.enabled', false)
|
||||
cluster1Config.setting('xpack.ml.enabled', false)
|
||||
|
||||
List<NodeInfo> cluster1Nodes = ClusterFormationTasks.setup(project, 'clusterOne', integTestRunner, cluster1Config)
|
||||
|
||||
|
@ -33,6 +34,7 @@ cluster2Config.setting('xpack.monitoring.enabled', false)
|
|||
cluster2Config.setting('xpack.security.enabled', false)
|
||||
cluster2Config.setting('xpack.watcher.enabled', false)
|
||||
cluster2Config.setting('xpack.graph.enabled', false)
|
||||
cluster2Config.setting('xpack.ml.enabled', false)
|
||||
|
||||
List<NodeInfo> cluster2Nodes = ClusterFormationTasks.setup(project, 'clusterTwo', integTestRunner, cluster2Config)
|
||||
|
||||
|
@ -47,6 +49,7 @@ integTestCluster {
|
|||
setting 'tribe.cluster1.xpack.security.enabled', false
|
||||
setting 'tribe.cluster1.xpack.watcher.enabled', false
|
||||
setting 'tribe.cluster1.xpack.graph.enabled', false
|
||||
setting 'tribe.cluster1.xpack.ml.enabled', false
|
||||
setting 'tribe.cluster2.cluster.name', 'cluster2'
|
||||
setting 'tribe.cluster2.discovery.zen.ping.unicast.hosts', "'${-> cluster2Nodes.get(0).transportUri()}'"
|
||||
setting 'tribe.cluster2.http.enabled', 'true'
|
||||
|
@ -55,6 +58,7 @@ integTestCluster {
|
|||
setting 'tribe.cluster2.xpack.security.enabled', false
|
||||
setting 'tribe.cluster2.xpack.watcher.enabled', false
|
||||
setting 'tribe.cluster2.xpack.graph.enabled', false
|
||||
setting 'tribe.cluster2.xpack.ml.enabled', false
|
||||
// x-pack
|
||||
plugin ':x-pack-elasticsearch:plugin'
|
||||
setting 'xpack.monitoring.enabled', false
|
||||
|
@ -62,6 +66,7 @@ integTestCluster {
|
|||
setting 'xpack.security.enabled', false
|
||||
setting 'xpack.watcher.enabled', false
|
||||
setting 'xpack.graph.enabled', false
|
||||
setting 'xpack.ml.enabled', false
|
||||
}
|
||||
|
||||
integTestRunner {
|
||||
|
|
|
@ -61,9 +61,11 @@ integTestCluster {
|
|||
setting 'tribe.cluster1.cluster.name', 'cluster1'
|
||||
setting 'tribe.cluster1.discovery.zen.ping.unicast.hosts', "'${-> cluster1Nodes.get(0).transportUri()}'"
|
||||
setting 'tribe.cluster1.http.enabled', 'true'
|
||||
setting 'tribe.cluster1.xpack.ml.enabled', 'false'
|
||||
setting 'tribe.cluster2.cluster.name', 'cluster2'
|
||||
setting 'tribe.cluster2.discovery.zen.ping.unicast.hosts', "'${-> cluster2Nodes.get(0).transportUri()}'"
|
||||
setting 'tribe.cluster2.http.enabled', 'true'
|
||||
setting 'tribe.cluster2.xpack.ml.enabled', 'false'
|
||||
waitCondition = { node, ant ->
|
||||
File tmpFile = new File(node.cwd, 'wait.success')
|
||||
ant.get(src: "http://${node.httpUri()}",
|
||||
|
|
Loading…
Reference in New Issue