mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Remove ES node discovery settings from test configuration. (#27125)
This commit is contained in:
parent
459099199e
commit
6995ea9513
2 changed files with 2 additions and 5 deletions
|
@ -42,7 +42,6 @@ export function createEsTestCluster(options = {}) {
|
|||
.toString(36)
|
||||
.substring(2);
|
||||
const clusterName = `test-${randomHash}`;
|
||||
const nodeName = `node-${randomHash}`;
|
||||
const config = {
|
||||
version: esTestConfig.getVersion(),
|
||||
installPath: resolve(basePath, clusterName),
|
||||
|
@ -79,9 +78,7 @@ export function createEsTestCluster(options = {}) {
|
|||
esArgs: [
|
||||
`cluster.name=${clusterName}`,
|
||||
`http.port=${port}`,
|
||||
`node.name=${nodeName}`,
|
||||
`discovery.zen.ping.unicast.hosts=localhost:${port}`,
|
||||
`cluster.initial_master_nodes=${nodeName}`,
|
||||
'discovery.type=single-node',
|
||||
...esArgs,
|
||||
],
|
||||
});
|
||||
|
|
|
@ -103,7 +103,7 @@ export default function ({ getService }) {
|
|||
'cluster_stats.nodes.count.ingest',
|
||||
'cluster_stats.nodes.count.master',
|
||||
'cluster_stats.nodes.count.total',
|
||||
'cluster_stats.nodes.discovery_types.zen2',
|
||||
'cluster_stats.nodes.discovery_types.single-node',
|
||||
'cluster_stats.nodes.fs.available_in_bytes',
|
||||
'cluster_stats.nodes.fs.free_in_bytes',
|
||||
'cluster_stats.nodes.fs.total_in_bytes',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue