Skip to content

Commit

Permalink
[Archive Migration] xpack..so_mgmt_feat_ctrls_security
Browse files Browse the repository at this point in the history
Drop the old es archive,
use the kbn archive instead.
  • Loading branch information
wayneseymour committed Sep 15, 2021
1 parent bc5e6ed commit e28dc34
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 496 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,23 @@ import expect from '@kbn/expect';
import { FtrProviderContext } from '../../../ftr_provider_context';

export default function ({ getPageObjects, getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const security = getService('security');
const testSubjects = getService('testSubjects');
const PageObjects = getPageObjects(['common', 'settings', 'security', 'error', 'savedObjects']);
const kibanaServer = getService('kibanaServer');
let version: string = '';

describe('feature controls saved objects management', () => {
before(async () => {
await esArchiver.load(
'x-pack/test/functional/es_archives/saved_objects_management/feature_controls/security'
version = await kibanaServer.version.get();
await kibanaServer.importExport.load(
'x-pack/test/functional/fixtures/kbn_archiver/saved_objects_management/feature_controls/security'
);
const versionService = getService('kibanaServer').version;
version = await versionService.get();
});

after(async () => {
await esArchiver.unload(
'x-pack/test/functional/es_archives/saved_objects_management/feature_controls/security'
await kibanaServer.importExport.unload(
'x-pack/test/functional/fixtures/kbn_archiver/saved_objects_management/feature_controls/security'
);
});

Expand Down

This file was deleted.

Loading

0 comments on commit e28dc34

Please sign in to comment.