Skip to content

Commit

Permalink
[data views] fix fields for wildcard integration test (elastic#164772)
Browse files Browse the repository at this point in the history
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 elastic#164753
  • Loading branch information
mattkime authored and davismcphee committed Sep 6, 2023
1 parent 52757ec commit fc9b4b7
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ export default function ({ getService }) {
const supertest = getService('supertest');
const esArchiver = getService('esArchiver');

// FAILING ES FORWARD COMPATIBILITY: https://github.com/elastic/kibana/issues/165633
describe.skip('conflicts', () => {
describe('conflicts', () => {
before(() =>
esArchiver.load('test/api_integration/fixtures/es_archiver/index_patterns/conflicts')
);
Expand Down Expand Up @@ -41,7 +40,7 @@ export default function ({ getService }) {
{
name: 'number_conflict',
type: 'number',
esTypes: ['integer', 'float'],
esTypes: ['float', 'integer'],
aggregatable: true,
searchable: true,
readFromDocValues: true,
Expand All @@ -50,16 +49,16 @@ export default function ({ getService }) {
{
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,
Expand Down

0 comments on commit fc9b4b7

Please sign in to comment.