[data views] fix fields for wildcard integration test (#164772)

## Summary

I'm waiting for this to fail CI - this means that a new ES snapshot is
being used. Then we update the test snapshot and should be good to
merge.

The lastest ES snapshot is returning field types in a different order
which really doesn't matter to this endpoint so I'll just update the
snapshot.

Closes https://github.com/elastic/kibana/issues/164753
This commit is contained in:
Matthew Kime 2023-08-24 21:03:33 -05:00 committed by GitHub
parent bcb99825a7
commit 0d72b8f75b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,8 +16,7 @@ export default function ({ getService }: FtrProviderContext) {
const supertest = getService('supertest');
const esArchiver = getService('esArchiver');
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/164753
describe.skip('conflicts', () => {
describe('conflicts', () => {
before(() =>
esArchiver.load('test/api_integration/fixtures/es_archiver/index_patterns/conflicts')
);
@ -46,7 +45,7 @@ export default function ({ getService }: FtrProviderContext) {
{
name: 'number_conflict',
type: 'number',
esTypes: ['integer', 'float'],
esTypes: ['float', 'integer'],
aggregatable: true,
searchable: true,
readFromDocValues: true,
@ -55,16 +54,16 @@ export default function ({ getService }: FtrProviderContext) {
{
name: 'string_conflict',
type: 'string',
esTypes: ['text', 'keyword'],
esTypes: ['keyword', 'text'],
aggregatable: true,
searchable: true,
readFromDocValues: false,
readFromDocValues: true,
metadata_field: false,
},
{
name: 'success',
type: 'conflict',
esTypes: ['boolean', 'keyword'],
esTypes: ['keyword', 'boolean'],
aggregatable: true,
searchable: true,
readFromDocValues: false,