mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[upgrade] Update functional data archives for 8.0 (#30406)
* [upgrade] Update functional data archives for 8.0 * Re-enable test Closes https://github.com/elastic/kibana/issues/30586 Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> * Fix data archive for 8.0
This commit is contained in:
parent
5088c7cfde
commit
9458387333
3 changed files with 6 additions and 7 deletions
|
@ -18,6 +18,5 @@ require('@kbn/test').runTestsCli([
|
|||
require.resolve('../test/saved_object_api_integration/security_and_spaces/config'),
|
||||
require.resolve('../test/saved_object_api_integration/security_only/config'),
|
||||
require.resolve('../test/saved_object_api_integration/spaces_only/config'),
|
||||
// todo: re-enable when https://github.com/elastic/kibana/issues/30586 is fixed
|
||||
//require.resolve('../test/upgrade_assistant_integration/config'),
|
||||
require.resolve('../test/upgrade_assistant_integration/config'),
|
||||
]);
|
||||
|
|
Binary file not shown.
|
@ -129,20 +129,20 @@ export default function ({ getService }) {
|
|||
});
|
||||
|
||||
it('shows no warnings', async () => {
|
||||
const resp = await supertest.get(`/api/upgrade_assistant/reindex/6.0-data`);
|
||||
const resp = await supertest.get(`/api/upgrade_assistant/reindex/7.0-data`);
|
||||
expect(resp.body.warnings.length).to.be(0);
|
||||
});
|
||||
|
||||
it('reindexes old 6.0 index', async () => {
|
||||
it('reindexes old 7.0 index', async () => {
|
||||
const { body } = await supertest
|
||||
.post(`/api/upgrade_assistant/reindex/6.0-data`)
|
||||
.post(`/api/upgrade_assistant/reindex/7.0-data`)
|
||||
.set('kbn-xsrf', 'xxx')
|
||||
.expect(200);
|
||||
|
||||
expect(body.indexName).to.equal('6.0-data');
|
||||
expect(body.indexName).to.equal('7.0-data');
|
||||
expect(body.status).to.equal(ReindexStatus.inProgress);
|
||||
|
||||
const lastState = await waitForReindexToComplete('6.0-data');
|
||||
const lastState = await waitForReindexToComplete('7.0-data');
|
||||
expect(lastState.errorMessage).to.equal(null);
|
||||
expect(lastState.status).to.equal(ReindexStatus.completed);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue