Skip to content

Commit

Permalink
[APM] Use 7.x compatible archive for API tests (#107367)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed Aug 3, 2021
1 parent 9a7e9f7 commit fc5a36f
Show file tree
Hide file tree
Showing 40 changed files with 3,814 additions and 11,073 deletions.
Binary file not shown.
3,739 changes: 63 additions & 3,676 deletions x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_8.0.0/mappings.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/* eslint-disable-next-line*/
export default {
'apm_8.0.0': {
start: '2021-07-27T08:08:11.069Z',
end: '2021-07-27T08:38:11.069Z',
start: '2021-08-03T06:50:15.910Z',
end: '2021-08-03T07:20:15.910Z',
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,6 @@ async function run() {
],
},
},
{
index: '.kibana',
bool: {
filter: [
{
term: {
type: 'ml-job',
},
},
],
},
},
];

// eslint-disable-next-line no-console
Expand Down Expand Up @@ -159,10 +147,7 @@ async function run() {
(bucket) => bucket.key as string
) ?? [];

const indicesToArchive = indicesWithDocs
.filter((index) => !index.startsWith('.kibana'))
.concat('.kibana')
.join(',');
const indicesToArchive = indicesWithDocs.join(',');

// create the archive
const tmpDir = path.join(__dirname, 'tmp/');
Expand Down
Binary file not shown.
Loading

0 comments on commit fc5a36f

Please sign in to comment.