Skip to content

Commit

Permalink
Fix integration tests (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
cavokz authored Jun 8, 2021
1 parent c6fae66 commit 6ffb2ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import expect from '@kbn/expect';

const ARCHIVE = 'email_connectors_with_encryption_rotation';
const ARCHIVE = '../integration-test/test/es_archives/email_connectors_with_encryption_rotation';

export default ({ getPageObjects, getService }) => {
const esArchiver = getService('esArchiver');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ export default ({ getService, getPageObjects }) => {
log,
client: esClient,
kbnClient,
dataDir: config.get('esArchiver.directory'),
});

let signalsId;
Expand Down Expand Up @@ -263,7 +262,7 @@ export default ({ getService, getPageObjects }) => {

before('Prepare data:metricbeat-*', async function () {
log.info('Create index');
await esArchiver.load('metricbeat');
await esArchiver.load('../integration-test/test/es_archives/metricbeat');

log.info('Create index pattern');
dataId = await supertest
Expand Down Expand Up @@ -323,7 +322,7 @@ export default ({ getService, getPageObjects }) => {
}

log.info('Delete index');
await esArchiver.unload('metricbeat');
await esArchiver.unload('../integration-test/test/es_archives/metricbeat');
});

after('Clean up .siem-signal-*', async function () {
Expand Down

0 comments on commit 6ffb2ab

Please sign in to comment.