[Code]: disable code by default in 7.2 (#38757)
This commit is contained in:
parent
0dc4eaf641
commit
4886c4bb21
|
@ -38,7 +38,7 @@ export const code = (kibana: any) =>
|
|||
ui: Joi.object({
|
||||
enabled: Joi.boolean().default(true),
|
||||
}).default(),
|
||||
enabled: Joi.boolean().default(true),
|
||||
enabled: Joi.boolean().default(false),
|
||||
queueIndex: Joi.string().default('.code_internal-worker-queue'),
|
||||
// 1 hour by default.
|
||||
queueTimeoutMs: Joi.number().default(moment.duration(1, 'hour').asMilliseconds()),
|
||||
|
|
|
@ -26,9 +26,9 @@ function getPluginPaths(plugins, opts = {}) {
|
|||
const publicPaths = `plugins/${publicPath}/**/${testPath}/*.js`;
|
||||
|
||||
paths = paths.concat([indexPaths, commonPaths, serverPaths]);
|
||||
if(plugin === 'code') {
|
||||
paths.push(`plugins/${serverPath}/**/${testPath}/*.ts`);
|
||||
}
|
||||
// if(plugin === 'code') {
|
||||
// paths.push(`plugins/${serverPath}/**/${testPath}/*.ts`);
|
||||
// }
|
||||
if (opts.browser) {
|
||||
paths = paths.concat(publicPaths);
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ export default function ({ loadTestFile }) {
|
|||
loadTestFile(require.resolve('./maps'));
|
||||
loadTestFile(require.resolve('./apm'));
|
||||
loadTestFile(require.resolve('./siem'));
|
||||
loadTestFile(require.resolve('./code'));
|
||||
// loadTestFile(require.resolve('./code'));
|
||||
loadTestFile(require.resolve('./short_urls'));
|
||||
});
|
||||
}
|
||||
|
|
|
@ -129,7 +129,6 @@ export default function({ getService }: KibanaFunctionalTestDefaultProviders) {
|
|||
'ml',
|
||||
'apm',
|
||||
'canvas',
|
||||
'code',
|
||||
'infrastructure',
|
||||
'logs',
|
||||
'maps',
|
||||
|
|
|
@ -102,7 +102,7 @@ export default async function ({ readConfigFile }) {
|
|||
resolve(__dirname, './apps/status_page'),
|
||||
resolve(__dirname, './apps/timelion'),
|
||||
resolve(__dirname, './apps/upgrade_assistant'),
|
||||
resolve(__dirname, './apps/code'),
|
||||
// resolve(__dirname, './apps/code'),
|
||||
resolve(__dirname, './apps/visualize'),
|
||||
resolve(__dirname, './apps/uptime'),
|
||||
resolve(__dirname, './apps/saved_objects_management'),
|
||||
|
|
Loading…
Reference in a new issue