Skip to content

Commit

Permalink
Fix outdated integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
gsoldevila committed Apr 11, 2023
1 parent ce58e44 commit 288c4b4
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ describe('migration from 7.7.2-xpack with 100k objects', () => {
await new Promise((resolve) => setTimeout(resolve, 10000));
};

const migratedIndices = SavedObjectsIndexPatterns.map(
(indexPattern) => `${indexPattern}_${kibanaVersion}_001`
);

beforeAll(async () => {
await removeLogFile();
await startServers({
Expand All @@ -124,7 +120,7 @@ describe('migration from 7.7.2-xpack with 100k objects', () => {

it('copies all the document of the previous index to the new one', async () => {
const migratedIndexResponse = await esClient.count({
index: migratedIndices,
index: SavedObjectsIndexPatterns,
});
const oldIndexResponse = await esClient.count({
index: '.kibana_1',
Expand Down

0 comments on commit 288c4b4

Please sign in to comment.