Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Fix integration tests #35

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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