Skip to content

Commit

Permalink
fix ingest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlog committed Sep 30, 2020
1 parent a1551ee commit 76e8f34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function (providerContext: FtrProviderContext) {
});
expect(resPolicy.statusCode).equal(200);
});
it.skip('should have installed the index templates', async function () {
it('should have installed the index templates', async function () {
const resLogsTemplate = await es.transport.request({
method: 'GET',
path: `/_index_template/${logsTemplateName}`,
Expand All @@ -55,7 +55,7 @@ export default function (providerContext: FtrProviderContext) {
});
expect(resMetricsTemplate.statusCode).equal(200);
});
it.skip('should have installed the pipelines', async function () {
it('should have installed the pipelines', async function () {
const res = await es.transport.request({
method: 'GET',
path: `/_ingest/pipeline/${logsTemplateName}-${pkgVersion}`,
Expand Down Expand Up @@ -84,14 +84,14 @@ export default function (providerContext: FtrProviderContext) {
});
expect(resSettings.statusCode).equal(200);
});
it.skip('should have installed the transform components', async function () {
it('should have installed the transform components', async function () {
const res = await es.transport.request({
method: 'GET',
path: `/_transform/${pkgName}-test-default-${pkgVersion}`,
path: `/_transform/${pkgName}.test-default-${pkgVersion}`,
});
expect(res.statusCode).equal(200);
});
it.skip('should have installed the kibana assets', async function () {
it('should have installed the kibana assets', async function () {
const resIndexPatternLogs = await kibanaServer.savedObjects.get({
type: 'index-pattern',
id: 'logs-*',
Expand Down Expand Up @@ -123,7 +123,7 @@ export default function (providerContext: FtrProviderContext) {
});
expect(resSearch.id).equal('sample_search');
});
it.skip('should have created the correct saved object', async function () {
it('should have created the correct saved object', async function () {
const res = await kibanaServer.savedObjects.get({
type: 'epm-packages',
id: 'all_assets',
Expand Down Expand Up @@ -169,7 +169,7 @@ export default function (providerContext: FtrProviderContext) {
type: 'index_template',
},
{
id: 'logs-all_assets.test_logs-default-0.1.0',
id: 'all_assets.test-default-0.1.0',
type: 'transform',
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"index": "logs-all_assets.test_log-default*"
},
"dest": {
"index": "logs-all_assets.test_log_current-default"
"index": "logs-all_assets.test_log_current_default"
},
"pivot": {
"group_by": {
Expand Down

0 comments on commit 76e8f34

Please sign in to comment.