Skip to content

Commit

Permalink
Made fix to broken test. Deleted all existing pipelines before test s…
Browse files Browse the repository at this point in the history
…tarts. FLAKY: #118593 (#127102)

(cherry picked from commit 81eec7c)
  • Loading branch information
cuff-links committed Mar 8, 2022
1 parent d42103e commit 634a3c6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* 2.0.
*/

import { IngestDeletePipelineRequest } from '@elastic/elasticsearch/lib/api/types';
import expect from '@kbn/expect';
import path from 'path';
import { FtrProviderContext } from '../../ftr_provider_context';
Expand All @@ -25,11 +26,12 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
const es = getService('es');
const security = getService('security');

// FLAKY: https://github.com/elastic/kibana/issues/118593
describe.skip('Ingest Pipelines', function () {
describe('Ingest Pipelines', function () {
this.tags('smoke');
before(async () => {
await security.testUser.setRoles(['ingest_pipelines_user']);
// Delete all existing pipelines
await es.ingest.deletePipeline({ id: '*' } as IngestDeletePipelineRequest);
await pageObjects.common.navigateToApp('ingestPipelines');
});

Expand Down

0 comments on commit 634a3c6

Please sign in to comment.