apply plugin: 'elasticsearch.java-rest-test' testClusters.all { testDistribution = 'DEFAULT' numberOfNodes = 3 setting 'xpack.security.enabled', 'false' setting 'xpack.monitoring.elasticsearch.collection.enabled', 'false' setting 'xpack.watcher.enabled', 'false' setting 'xpack.ml.enabled', 'true' setting 'xpack.license.self_generated.type', 'trial' setting 'indices.lifecycle.history_index_enabled', 'false' setting 'slm.history_index_enabled', 'false' }