Skip to content

Commit

Permalink
[Archive Migration] xpack...packaging
Browse files Browse the repository at this point in the history
Use x-pack/test/functional/fixtures/kbn_archiver/packaging.json
instead of x-pack/test/functional/es_archives/packaging

**TODO: Drop x-pack/test/functional/es_archives/packaging**
  • Loading branch information
wayneseymour committed Sep 1, 2021
1 parent 16af3e9 commit 766ead1
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 2,564 deletions.
11 changes: 8 additions & 3 deletions x-pack/test/functional/apps/reporting/reporting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,22 @@ import { FtrProviderContext } from '../../ftr_provider_context';
export default function ({ getService, getPageObjects }: FtrProviderContext) {
const pageObjects = getPageObjects(['dashboard', 'common', 'reporting']);
const es = getService('es');
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');

const retry = getService('retry');

describe('Reporting', function () {
this.tags(['smoke', 'ciGroup2']);
before(async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/packaging');
await kibanaServer.importExport.load(
'x-pack/test/functional/fixtures/kbn_archiver/packaging'
);
});

after(async () => {
await esArchiver.unload('x-pack/test/functional/es_archives/packaging');
await kibanaServer.importExport.unload(
'x-pack/test/functional/fixtures/kbn_archiver/packaging'
);
await es.deleteByQuery({
index: '.reporting-*',
refresh: true,
Expand Down
Binary file not shown.
Loading

0 comments on commit 766ead1

Please sign in to comment.