Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating scroll_count esArchiver to kbnArchiver #136535

Merged
merged 10 commits into from
Jul 19, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,22 @@ const defaultTypes = ['visualization', 'index-pattern', 'search', 'dashboard'];

export default function ({ getService }: FtrProviderContext) {
const supertest = getService('supertest') as SuperTest<Test>;
const kibanaServer = getService('kibanaServer');
const esArchiver = getService('esArchiver');

describe('scroll_count', () => {
describe('with less than 10k objects', () => {
before(async () => {
await esArchiver.load(
'test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count'
await kibanaServer.savedObjects.cleanStandardList();
await kibanaServer.importExport.load(
'test/api_integration/fixtures/kbn_archiver/saved_objects/scroll_count.json'
);
});
after(async () => {
await esArchiver.unload(
'test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count'
await kibanaServer.importExport.unload(
'test/api_integration/fixtures/kbn_archiver/saved_objects/scroll_count.json'
);
await kibanaServer.savedObjects.cleanStandardList();
});

it('returns the count for each included types', async () => {
Expand Down

This file was deleted.

Loading