Skip to content

Commit

Permalink
Unload esarchiver fixtures in api integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
kpollich committed Jul 27, 2021
1 parent 22b7bcf commit d68071f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ export default function (providerContext: FtrProviderContext) {
.expect(200);
});

after(async () => {
await getService('esArchiver').unload('x-pack/test/functional/es_archives/empty_kibana');
await getService('esArchiver').unload(
'x-pack/test/functional/es_archives/fleet/empty_fleet_server'
);
});

beforeEach(async function () {
const { body: agentPolicyResponse } = await supertest
.post(`/api/fleet/agent_policies`)
Expand Down

0 comments on commit d68071f

Please sign in to comment.