Skip to content

Commit

Permalink
Cherry pick 136535 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gsoldevila committed Aug 10, 2023
1 parent bcde94b commit 7fb0415
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ 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 kibanaServer.savedObjects.cleanStandardList();
await esArchiver.load(
'test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count'
);
Expand All @@ -28,6 +30,7 @@ export default function ({ getService }: FtrProviderContext) {
await esArchiver.unload(
'test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count'
);
await kibanaServer.savedObjects.cleanStandardList();
});

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

0 comments on commit 7fb0415

Please sign in to comment.