diff --git a/x-pack/test/stack_functional_integration/configs/tests_list.js b/x-pack/test/stack_functional_integration/configs/tests_list.js deleted file mode 100644 index fbd491525d4c..000000000000 --- a/x-pack/test/stack_functional_integration/configs/tests_list.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License; - * you may not use this file except in compliance with the Elastic License. - */ - -// testsList :: {} -> list -export default (envObj) => { - const xs = []; - // one of these 2 needs to create the default index pattern - if (envObj.PRODUCTS.includes('logstash')) xs.push('management'); - else xs.push('sample_data'); - - // get the opt in/out banner out of the way early - if (envObj.XPACK === 'YES') xs.push('telemetry'); - - if (envObj.BEATS.includes('metricbeat')) { - xs.push('metricbeat/_metricbeat'); - if (envObj.XPACK === 'YES') { - // the esArchive and dashboard png are specific to the default distribution (with XPACK) - xs.push('metricbeat/_metricbeat_dashboard'); - } - } - if (envObj.BEATS.includes('filebeat')) xs.push('filebeat'); - if (envObj.BEATS.includes('packetbeat')) xs.push('packetbeat'); - if (envObj.BEATS.includes('winlogbeat')) xs.push('winlogbeat'); - if (envObj.BEATS.includes('heartbeat')) xs.push('heartbeat'); - if (envObj.VM === 'ubuntu16_tar_ccs') xs.push('ccs'); - - // with latest elasticsearch Js client, we can only run these watcher tests - // which use the watcher API on a config with x-pack but without TLS (no security) - if (envObj.VM === 'ubuntu16_tar') xs.push('reporting'); - - if (envObj.XPACK === 'YES' && ['TRIAL', 'GOLD', 'PLATINUM'].includes(envObj.LICENSE)) { - // we can't test enabling monitoring on this config because we already enable it through cluster settings for both clusters. - if (envObj.VM !== 'ubuntu16_tar_ccs' && envObj.VM !== 'centos7_rpm') { - // monitoring is last because we switch to the elastic superuser here - xs.push('monitoring'); - } - if (envObj.VM === 'centos7_rpm') { - xs.push('alerts'); - // monitoring is last because we switch to the elastic superuser here - xs.push('monitoring/_monitoring_metricbeat'); - } - } - - return xs; -};