mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* Ensure we use the right parameter name * Update test fixture to use second node
This commit is contained in:
parent
6dae6d8cba
commit
83b9aaf0ea
3 changed files with 362 additions and 1359 deletions
|
@ -39,7 +39,7 @@ function getUuid(req, metric) {
|
|||
} else if (metric.app === 'logstash') {
|
||||
return req.params.logstashUuid;
|
||||
} else if (metric.app === 'elasticsearch') {
|
||||
return req.params.resolver;
|
||||
return req.params.nodeUuid;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -28,7 +28,7 @@ export default function ({ getService }) {
|
|||
|
||||
it('should summarize node with metrics', async () => {
|
||||
const { body } = await supertest
|
||||
.post('/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes/jUT5KdxfRbORSCWkb5zjmA')
|
||||
.post('/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes/jxcP6ue7eRCieNNitFTT0EA')
|
||||
.set('kbn-xsrf', 'xxx')
|
||||
.send({
|
||||
timeRange,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue