Skip to content

Commit

Permalink
[elastic#192624] multiple_es_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Sep 24, 2024
1 parent 946c26e commit 1c09fe2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 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 @@ -96,7 +96,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 1c09fe2

Please sign in to comment.