Removes timestamp_field from data_stream (#71727)

https://github.com/elastic/kibana/issues/71670

Caused by https://github.com/elastic/elasticsearch/pull/59317

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley 2020-07-15 08:50:36 -07:00 committed by GitHub
parent 99255d824d
commit 6068285c37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 29 deletions

View file

@ -276,9 +276,7 @@ export interface IndexTemplate {
mappings: any;
aliases: object;
};
data_stream: {
timestamp_field: string;
};
data_stream: object;
composed_of: string[];
_meta: object;
}

View file

@ -91,9 +91,7 @@ exports[`tests loading base.yml: base.yml 1`] = `
},
"aliases": {}
},
"data_stream": {
"timestamp_field": "@timestamp"
},
"data_stream": {},
"composed_of": [],
"_meta": {
"package": {
@ -196,9 +194,7 @@ exports[`tests loading coredns.logs.yml: coredns.logs.yml 1`] = `
},
"aliases": {}
},
"data_stream": {
"timestamp_field": "@timestamp"
},
"data_stream": {},
"composed_of": [],
"_meta": {
"package": {
@ -1685,9 +1681,7 @@ exports[`tests loading system.yml: system.yml 1`] = `
},
"aliases": {}
},
"data_stream": {
"timestamp_field": "@timestamp"
},
"data_stream": {},
"composed_of": [],
"_meta": {
"package": {

View file

@ -308,9 +308,7 @@ function getBaseTemplate(
// To be filled with the aliases that we need
aliases: {},
},
data_stream: {
timestamp_field: '@timestamp',
},
data_stream: {},
composed_of: composedOfTemplates,
_meta: {
package: {

View file

@ -5,9 +5,7 @@
*/
export default function loadTests({ loadTestFile }) {
// Temporarily skipped to promote snapshot
// Re-enabled in https://github.com/elastic/kibana/pull/71727
describe.skip('Fleet Endpoints', () => {
describe('Fleet Endpoints', () => {
loadTestFile(require.resolve('./setup'));
loadTestFile(require.resolve('./delete_agent'));
loadTestFile(require.resolve('./list_agent'));

View file

@ -51,8 +51,7 @@ export default function ({ getService }: FtrProviderContext) {
await deleteComposableIndexTemplate(name);
};
// Temporarily skipping tests until ES snapshot is updated
describe.skip('Data streams', function () {
describe('Data streams', function () {
describe('Get', () => {
const testDataStreamName = 'test-data-stream';

View file

@ -21,9 +21,7 @@ export default function ({ getService }: FtrProviderContext) {
const mappingsPackage = 'overrides-0.1.0';
const server = dockerServers.get('registry');
// Temporarily skipped to promote snapshot
// Re-enabled in https://github.com/elastic/kibana/pull/71727
describe.skip('installs packages that include settings and mappings overrides', async () => {
describe('installs packages that include settings and mappings overrides', async () => {
after(async () => {
if (server.enabled) {
// remove the package just in case it being installed will affect other tests

View file

@ -19,9 +19,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const testSubjects = getService('testSubjects');
const policyTestResources = getService('policyTestResources');
// Temporarily skipped to promote snapshot
// Re-enabled in https://github.com/elastic/kibana/pull/71727
describe.skip('When on the Endpoint Policy Details Page', function () {
describe('When on the Endpoint Policy Details Page', function () {
this.tags(['ciGroup7']);
describe('with an invalid policy id', () => {

View file

@ -19,9 +19,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const policyTestResources = getService('policyTestResources');
const RELATIVE_DATE_FORMAT = /\d (?:seconds|minutes) ago/i;
// Temporarily skipped to promote snapshot
// Re-enabled in https://github.com/elastic/kibana/pull/71727
describe.skip('When on the Endpoint Policy List', function () {
describe('When on the Endpoint Policy List', function () {
this.tags(['ciGroup7']);
before(async () => {
await pageObjects.policy.navigateToPolicyList();