mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Update archives for migrations multiple nodes test (#209667)
fix https://github.com/elastic/kibana/issues/167676 for 9.0 promotion steps taken: 1. Start Node01: `yarn es snapshot --version=8.19.0 --data-archive src/core/server/integration_tests/saved_objects/migrations/archives/7.13.0_5k_so_node_01.zip --base-path .es/node01` 2. Start Node02: `yarn es snapshot --version=8.19.0 --data-archive src/core/server/integration_tests/saved_objects/migrations/archives/7.13.0_5k_so_node_02.zip --base-path .es/node02` 3. Wait for both nodes to start and be ready 4. Stop both ES nodes 5. change into the directory for node01: `cd .es/node01/8.19.0` 6. Remove (or move) the outdated archive: `rm ../../../src/core/server/integration_tests/saved_objects/migrations/archives/7.13.0_5k_so_node_01.zip` 7. zip the updated data and store as the original test filename in the test directory: `zip -r ../../../src/core/server/integration_tests/saved_objects/migrations/archives/7.13.0_5k_so_node_01.zip data -x "*/\.*"` Repeat these steps for node02: 8. `cd ../../../` 9. `cd .es/node02/8.19.0` 10. `rm ../../../src/core/server/integration_tests/saved_objects/migrations/archives/7.13.0_5k_so_node_02.zip` 11. `zip -r ../../../src/core/server/integration_tests/saved_objects/migrations/archives/7.13.0_5k_so_node_02.zip data -x "*/\.*"` 12. `cd ../../../` 13. `git commit -m "Updated archives" && git push` ### Identify risks Data archives have to be updated for every major.last before a new major is released. Should updating the archives not resolve test failures, there may be a bug elsewhere in the stack. If so, carefully inspect the error logs to determine the cause.
This commit is contained in:
parent
06f3c30f60
commit
1c4d0e99b4
3 changed files with 1 additions and 2 deletions
Binary file not shown.
Binary file not shown.
|
@ -96,8 +96,7 @@ function createRoot({ logFileName, hosts }: RootConfig) {
|
|||
});
|
||||
}
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/167676
|
||||
describe.skip('migration v2', () => {
|
||||
describe('migration v2', () => {
|
||||
let esServer: TestElasticsearchUtils;
|
||||
let root: Root;
|
||||
const migratedIndexAlias = `.kibana_${pkg.version}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue