[Fleet] Revert max fields value for Fleet component templates to 10k (#114299)

* Revert max fields value for Fleet component templates to 10k

* Skip endpoint tests

* fix failing spec

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Kyle Pollich 2021-10-07 18:27:16 -04:00 committed by GitHub
parent 0442c87591
commit 67cbccf9a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 1 deletions

View file

@ -46,6 +46,11 @@ describe('buildDefaultSettings', () => {
"lifecycle": Object {
"name": "logs",
},
"mapping": Object {
"total_fields": Object {
"limit": "10000",
},
},
"query": Object {
"default_field": Array [
"field1Keyword",

View file

@ -67,6 +67,11 @@ export function buildDefaultSettings({
},
// What should be our default for the compression?
codec: 'best_compression',
mapping: {
total_fields: {
limit: '10000',
},
},
// All the default fields which should be queried have to be added here.
// So far we add all keyword and text fields here if there are any, otherwise

View file

@ -121,6 +121,11 @@ export default function (providerContext: FtrProviderContext) {
lifecycle: {
name: 'overridden by user',
},
mapping: {
total_fields: {
limit: '10000',
},
},
number_of_shards: '3',
},
},

View file

@ -220,6 +220,11 @@ export default function (providerContext: FtrProviderContext) {
index: {
lifecycle: { name: 'reference2' },
codec: 'best_compression',
mapping: {
total_fields: {
limit: '10000',
},
},
query: {
default_field: ['logs_test_name', 'new_field_name'],
},

View file

@ -15,7 +15,7 @@ import {
export default function (providerContext: FtrProviderContext) {
const { loadTestFile, getService } = providerContext;
describe('endpoint', function () {
describe.skip('endpoint', function () {
const ingestManager = getService('ingestManager');
const log = getService('log');
const endpointTestResources = getService('endpointTestResources');