Remove ES node discovery settings from test configuration. (#27125)
This commit is contained in:
parent
459099199e
commit
6995ea9513
|
@ -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…
Reference in a new issue