Skip to content

Commit

Permalink
remove test that checks for data stream backing index names (#86052)
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian authored Dec 16, 2020
1 parent 3b67384 commit 7ae4f2d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions x-pack/test/fleet_api_integration/apis/epm/data_stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,8 @@ export default function (providerContext: FtrProviderContext) {
});
expect(resLogsDatastream.body.data_streams.length).equal(1);
expect(resLogsDatastream.body.data_streams[0].indices.length).equal(1);
expect(resLogsDatastream.body.data_streams[0].indices[0].index_name).equal(
`.ds-${logsTemplateName}-default-000001`
);
expect(resMetricsDatastream.body.data_streams.length).equal(1);
expect(resMetricsDatastream.body.data_streams[0].indices.length).equal(1);
expect(resMetricsDatastream.body.data_streams[0].indices[0].index_name).equal(
`.ds-${metricsTemplateName}-default-000001`
);
});

it('after update, it should have rolled over logs datastream because mappings are not compatible and not metrics', async function () {
Expand All @@ -109,9 +103,6 @@ export default function (providerContext: FtrProviderContext) {
path: `/_data_stream/${metricsTemplateName}-default`,
});
expect(resLogsDatastream.body.data_streams[0].indices.length).equal(2);
expect(resLogsDatastream.body.data_streams[0].indices[1].index_name).equal(
`.ds-${logsTemplateName}-default-000002`
);
expect(resMetricsDatastream.body.data_streams[0].indices.length).equal(1);
});
it('should be able to upgrade a package after a rollover', async function () {
Expand Down

0 comments on commit 7ae4f2d

Please sign in to comment.