[FTR] Updates esArchive paths

PR's merged after #101345

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley 2021-06-08 21:06:50 -07:00
parent 4021576436
commit aa8f7f3af2

View file

@ -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 () => {
@ -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.