Skip to content

Commit

Permalink
[FTR] Updates esArchive paths
Browse files Browse the repository at this point in the history
PR's merged after #101345

Signed-off-by: Tyler Smalley <[email protected]>
  • Loading branch information
Tyler Smalley committed Jun 9, 2021
1 parent 982feab commit 9838db3
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ export default ({ getService }: FtrProviderContext) => {
describe('Regular runtime field mappings', () => {
beforeEach(async () => {
await createSignalsIndex(supertest);
await esArchiver.load('security_solution/runtime');
await esArchiver.load('x-pack/test/functional/es_archives/security_solution/runtime');
});

afterEach(async () => {
await deleteSignalsIndex(supertest);
await deleteAllAlerts(supertest);
await esArchiver.unload('security_solution/runtime');
await esArchiver.unload('x-pack/test/functional/es_archives/security_solution/runtime');
});

it('should copy normal non-runtime data set from the source index into the signals index in the same position when the target is ECS compatible', async () => {
Expand Down Expand Up @@ -68,13 +68,17 @@ export default ({ getService }: FtrProviderContext) => {
describe('Runtime field mappings that have conflicts within them', () => {
beforeEach(async () => {
await createSignalsIndex(supertest);
await esArchiver.load('security_solution/runtime_conflicting_fields');
await esArchiver.load(
'x-pack/test/functional/es_archives/security_solution/runtime_conflicting_fields'
);
});

afterEach(async () => {
await deleteSignalsIndex(supertest);
await deleteAllAlerts(supertest);
await esArchiver.unload('security_solution/runtime_conflicting_fields');
await esArchiver.unload(
'x-pack/test/functional/es_archives/security_solution/runtime_conflicting_fields'
);
});

// TODO: Make the overrides of runtime fields override the host.name in this use case.
Expand Down

0 comments on commit 9838db3

Please sign in to comment.