Skip to content

Commit

Permalink
[elastic#192624] multiple_es_nodes (elastic#193899)
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Sep 25, 2024
1 parent 0ee92df commit 66f2027
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/kbn-test/src/es/test_es_cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ export function createTestEsCluster<
`transport.port=${transportPort ?? esTestConfig.getTransportPort()}`,
// For multi-node clusters, we make all nodes master-eligible by default.
...(nodes.length > 1
? ['discovery.type=zen', `cluster.initial_master_nodes=${nodes.map((n) => n.name).join(',')}`]
? [
'discovery.type=multi-node',
`cluster.initial_master_nodes=${nodes.map((n) => n.name).join(',')}`,
]
: ['discovery.type=single-node']),
];

Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ function createRoot({ logFileName, hosts }: RootConfig) {
});
}

// Failing 9.0 version update: https://github.com/elastic/kibana/issues/192624
describe.skip('migration v2', () => {
describe('migration v2', () => {
let esServer: TestElasticsearchUtils;
let root: Root;
const migratedIndexAlias = `.kibana_${pkg.version}`;
Expand Down

0 comments on commit 66f2027

Please sign in to comment.