disable execution_context service by default (#108534)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Mikhail Shustov 2021-08-16 19:43:20 +03:00 committed by GitHub
parent e2c7313781
commit 7b03175395
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -10,7 +10,7 @@ import { TypeOf, schema } from '@kbn/config-schema';
import { ServiceConfigDescriptor } from '../internal_types';
const configSchema = schema.object({
enabled: schema.boolean({ defaultValue: true }),
enabled: schema.boolean({ defaultValue: false }),
});
/**

View file

@ -40,6 +40,9 @@ describe('trace', () => {
allowFromAnyIp: true,
},
},
execution_context: {
enabled: true,
},
});
await root.preboot();
}, 30000);

View file

@ -60,6 +60,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
'--corePluginDeprecations.noLongerUsed=still_using',
// for testing set buffer duration to 0 to immediately flush counters into saved objects.
'--usageCollection.usageCounters.bufferDuration=0',
'--execution_context.enabled=true',
...plugins.map(
(pluginDir) => `--plugin-path=${path.resolve(__dirname, 'plugins', pluginDir)}`
),